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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy