pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/pythonnet/pythonnet/commit/171cee4495f3498b1ff57f3d5290b16d52a95432

7e.css" /> Change PyScope to PyModule in docs (#2231) · pythonnet/pythonnet@171cee4 · GitHub
Skip to content

Commit 171cee4

Browse files
Change PyScope to PyModule in docs (#2231)
PyScope data type not found. Py.CreateScope() returns the variable of type PyModule.
1 parent c6f12cf commit 171cee4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/source/dotnet.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Code executed from the scope will have access to the variable:
110110
using (Py.GIL())
111111
{
112112
// create a Python scope
113-
using (PyScope scope = Py.CreateScope())
113+
using (PyModule scope = Py.CreateScope())
114114
{
115115
// convert the Person object to a PyObject
116116
PyObject pyPerson = person.ToPython();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

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