From 6223b18cea153a81c07bb837ac31169c0fd23ce4 Mon Sep 17 00:00:00 2001 From: Matthew Chan Date: Thu, 8 Jun 2017 13:55:30 -0400 Subject: [PATCH] Update basics.rst Fix spelling --- docs/basics.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/basics.rst b/docs/basics.rst index aa986807a..2ae8c0c25 100644 --- a/docs/basics.rst +++ b/docs/basics.rst @@ -107,7 +107,7 @@ a file named :file:`example.cpp` with the following contents: The :func:`PYBIND11_MODULE` macro creates a function that will be called when an ``import`` statement is issued from within Python. The module name (``example``) -is given as the fist macro argument (it should not be in quotes). The second +is given as the first macro argument (it should not be in quotes). The second argument (``m``) defines a variable of type :class:`py::module ` which is the main interface for creating bindings. The method :func:`module::def` generates binding code that exposes the ``add()`` function to Python.