You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Doc/c-api/init.rst
+2-35Lines changed: 2 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,8 +77,7 @@ The following functions can be safely called before Python is initialized:
77
77
78
78
Despite their apparent similarity to some of the functions listed above,
79
79
the following functions **should not be called** before the interpreter has
80
-
been initialized: :c:func:`Py_EncodeLocale`, :c:func:`Py_GetPath`,
81
-
:c:func:`Py_GetPrefix`, :c:func:`Py_GetProgramFullPath`, :c:func:`Py_GetPythonHome`, :c:func:`PyEval_InitThreads`, and
80
+
been initialized: :c:func:`Py_EncodeLocale`, :c:func:`Py_GetPrefix`, :c:func:`Py_GetProgramFullPath`, :c:func:`Py_GetPythonHome`, :c:func:`PyEval_InitThreads`, and
82
81
:c:func:`Py_RunMain`.
83
82
84
83
@@ -143,9 +142,6 @@ to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2.
143
142
:c:member:`PyConfig.pathconfig_warnings` should be used instead, see
0 commit comments