Fix typo in embedding.rst

This commit is contained in:
Ian Bell 2017-06-14 20:33:45 -06:00 committed by Jason Rhinelander
parent d080f833be
commit 28f3df7ff3

View File

@ -111,7 +111,7 @@ Python modules can be imported using `module::import()`:
.. code-block:: cpp .. code-block:: cpp
py::module sys = py::module::import("sys"); py::module sys = py::module::import("sys");
py::print(sys.attr("path")) py::print(sys.attr("path"));
For convenience, the current working directory is included in ``sys.path`` when For convenience, the current working directory is included in ``sys.path`` when
embedding the interpreter. This makes it easy to import local Python files: embedding the interpreter. This makes it easy to import local Python files: