Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
pybind11
Commits
28f3df7f
Commit
28f3df7f
authored
Jun 14, 2017
by
Ian Bell
Committed by
Jason Rhinelander
Jun 15, 2017
Browse files
Fix typo in embedding.rst
parent
d080f833
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/advanced/embedding.rst
docs/advanced/embedding.rst
+1
-1
No files found.
docs/advanced/embedding.rst
View file @
28f3df7f
...
@@ -111,7 +111,7 @@ Python modules can be imported using `module::import()`:
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment