diff --git a/docs/advanced/embedding.rst b/docs/advanced/embedding.rst index bba1e566b..5354eee9d 100644 --- a/docs/advanced/embedding.rst +++ b/docs/advanced/embedding.rst @@ -111,7 +111,7 @@ Python modules can be imported using `module::import()`: .. code-block:: cpp 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 embedding the interpreter. This makes it easy to import local Python files: