@@ -40,6 +40,7 @@ The following functions can be safely called before Python is initialized: |
|
|
40 |
40 |
* :c:func:`Py_GetCompiler` |
41 |
41 |
* :c:func:`Py_GetCopyright` |
42 |
42 |
* :c:func:`Py_GetPlatform` |
|
43 |
+ * :c:func:`Py_GetProgramName` |
43 |
44 |
* :c:func:`Py_GetVersion` |
44 |
45 |
|
45 |
46 |
* Utilities: |
@@ -58,8 +59,8 @@ The following functions can be safely called before Python is initialized: |
|
|
58 |
59 |
The following functions **should not be called** before |
59 |
60 |
:c:func:`Py_Initialize`: :c:func:`Py_EncodeLocale`, :c:func:`Py_GetPath`, |
60 |
61 |
:c:func:`Py_GetPrefix`, :c:func:`Py_GetExecPrefix`, |
61 |
|
-:c:func:`Py_GetProgramFullPath`, :c:func:`Py_GetPythonHome`, |
62 |
|
-:c:func:`Py_GetProgramName` and :c:func:`PyEval_InitThreads`. |
|
62 |
+:c:func:`Py_GetProgramFullPath`, :c:func:`Py_GetPythonHome` and |
|
63 |
+:c:func:`PyEval_InitThreads`. |
63 |
64 |
|
64 |
65 |
|
65 |
66 |
.. _global-conf-vars: |