Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dddadbe

Browse files
authored
Adjust docs for importing
1 parent a1cd73f commit dddadbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/dotnet.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ to:
1717

1818
- Reference ``Python.Runtime.dll`` (e.g. via a ``PackageReference``)
1919
- Call ``PythonEngine.Initialize()`` to initialize Python
20-
- Call ``PythonEngine.ImportModule(name)`` to import a module
20+
- Call ``var mod = PyModule.Import(name)`` to import a module as ``mod``
2121

2222
The module you import can either start working with your managed app
2323
environment at the time its imported, or you can explicitly lookup and

0 commit comments

Comments
 (0)