@@ -77,7 +77,7 @@ The following functions can be safely called before Python is initialized:
7777
7878 Despite their apparent similarity to some of the functions listed above,
7979 the following functions **should not be called ** before the interpreter has
80- been initialized: :c:func: `Py_EncodeLocale `, :c:func: `Py_GetProgramFullPath `, :c:func: ` Py_GetPythonHome `, :c:func: `PyEval_InitThreads `, and
80+ been initialized: :c:func: `Py_EncodeLocale `, :c:func: `Py_GetPythonHome `, :c:func: `PyEval_InitThreads `, and
8181 :c:func: `Py_RunMain `.
8282
8383
@@ -602,28 +602,6 @@ Process-wide parameters
602602 .. deprecated-removed:: 3.11 3.15
603603
604604
605- .. c:function:: wchar_t* Py_GetProgramFullPath()
606-
607- .. index::
608- single: executable (in module sys)
609-
610- Return the full program name of the Python executable; this is computed as a
611- side-effect of deriving the default module search path from the program name
612- (set by :c:member: `PyConfig.program_name `). The returned string points into
613- static storage; the caller should not modify its value. The value is available
614- to Python code as ``sys.executable ``.
615-
616- This function should not be called before :c:func: `Py_Initialize `, otherwise
617- it returns ``NULL ``.
618-
619- .. versionchanged :: 3.10
620- It now returns ``NULL `` if called before :c:func: `Py_Initialize `.
621-
622- .. deprecated-removed :: 3.13 3.15
623- Use :c:func: `PyConfig_Get("executable") <PyConfig_Get> `
624- (:data: `sys.executable `) instead.
625-
626-
627605.. c:function:: const char* Py_GetVersion()
628606
629607 Return the version of this Python interpreter. This is a string that looks
0 commit comments