We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Doc/extending/embedding.rst
1 parent 397e69d commit a117481Copy full SHA for a117481
Doc/extending/embedding.rst
@@ -177,8 +177,8 @@ interesting part with respect to embedding Python starts with ::
177
178
After initializing the interpreter, the script is loaded using
179
:c:func:`PyImport_Import`. This routine needs a Python string as its argument,
180
-which is constructed using the :c:func:`PyUnicode_FromString` data conversion
181
-routine. ::
+which is constructed using the :c:func:`PyUnicode_DecodeFSDefault` data
+conversion routine. ::
182
183
pFunc = PyObject_GetAttrString(pModule, argv[2]);
184
/* pFunc is a new reference */
0 commit comments