@@ -115,7 +115,7 @@ <h1>Python for .NET</h1>
115
115
< li > < a href ="#exceptions "> Exception Handling</ a > </ li >
116
116
< li > < a href ="#arrays "> Using Arrays</ a > </ li >
117
117
< li > < a href ="#collections "> Using Collections</ a > </ li >
118
- < li > < a href ="#com "> COM Components </ a > </ li >
118
+ < li > < a href ="#com "> COM Componefnts </ a > </ li >
119
119
< li > < a href ="#types "> Type Conversion</ a > </ li >
120
120
< li > < a href ="#embedding "> Embedding Python</ a > </ li >
121
121
< li > < a href ="#license "> License</ a > </ li >
@@ -577,12 +577,15 @@ <h2>Embedding Python</h2>
577
577
</ p >
578
578
< p > The Python runtime assembly defines a number of public classes
579
579
that provide a subset of the functionality provided by the Python
580
- C API.
580
+ C- API.
581
581
</ p >
582
- < p > These classes include PyObject, PyList, PyDict, etc. The source
583
- and the unit tests are currently the only API documentation.. The
584
- rhythym is very similar to using Python C++ wrapper solutions such
585
- as CXX.
582
+ < p > These classes include PyObject, PyList, PyDict, PyTuple, etc.
583
+ You can review the nPython.exe source code in in "Console.csproj" project
584
+ for example of embedding CPython in console .NET app.
585
+ Please refer to this README GitHub page for new simplified embedding API:
586
+
587
+ https://github.com/pythonnet/pythonnet/blob/master/README.md
588
+
586
589
</ p >
587
590
< p > At a very high level, to embed Python in your application you
588
591
will need to:
@@ -607,7 +610,7 @@ <h2>Embedding Python</h2>
607
610
free-threaded and uses a global interpreter lock to allow
608
611
multi-threaded applications to interact safely with the Python
609
612
interpreter. Much more information about this is available in the
610
- Python C API documentation on the www.python.org Website.
613
+ Python C- API documentation on the www.python.org Website.
611
614
</ p >
612
615
< p > When embedding Python in a managed application, you have to
613
616
manage the GIL in just the same way you would when embedding
0 commit comments