We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Doc/extending/embedding.rst
1 parent 0a9ae5e commit e5527f2Copy full SHA for e5527f2
Doc/extending/embedding.rst
@@ -196,8 +196,8 @@ interesting part with respect to embedding Python starts with ::
196
197
After initializing the interpreter, the script is loaded using
198
:c:func:`PyImport_Import`. This routine needs a Python string as its argument,
199
-which is constructed using the :c:func:`PyUnicode_FromString` data conversion
200
-routine. ::
+which is constructed using the :c:func:`PyUnicode_DecodeFSDefault` data
+conversion routine. ::
201
202
pFunc = PyObject_GetAttrString(pModule, argv[2]);
203
/* pFunc is a new reference */
0 commit comments