mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 14:45:12 +00:00
Fix typo in embedding.rst
This commit is contained in:
parent
d080f833be
commit
28f3df7ff3
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user