@@ -155,28 +155,30 @@ Deprecated C APIs
155155 Removed C APIs
156156--------------
157157
158- * :c:func: `!Py_GetExecPrefix `:
159- use :c:func: `PyConfig_Get("base_exec_prefix") <PyConfig_Get> `
160- (:data: `sys.base_exec_prefix `) instead.
161- Use :c:func: `PyConfig_Get("exec_prefix") <PyConfig_Get> `
162- (:data: `sys.exec_prefix `) if :ref: `virtual environments <venv-def >`
163- need to be handled.
164- * :c:func: `!Py_GetPath `:
165- use :c:func: `PyConfig_Get("module_search_paths") <PyConfig_Get> `
166- (:data: `sys.path `) instead.
167- * :c:func: `!Py_GetPrefix `:
168- use :c:func: `PyConfig_Get("base_prefix") <PyConfig_Get> `
169- (:data: `sys.base_prefix `) instead.
170- Use :c:func: `PyConfig_Get("prefix") <PyConfig_Get> `
171- (:data: `sys.prefix `) if :ref: `virtual environments <venv-def >`
172- need to be handled.
173- * :c:func: `!Py_GetProgramFullPath `:
174- use :c:func: `PyConfig_Get("executable") <PyConfig_Get> `
175- (:data: `sys.executable `) instead.
176- * :c:func: `!Py_GetProgramName `:
177- use :c:func: `PyConfig_Get("executable") <PyConfig_Get> `
178- (:data: `sys.executable `) instead.
179- * :c:func: `!Py_GetPythonHome `:
180- use :c:func: `PyConfig_Get("home") <PyConfig_Get> ` or the
181- :envvar: `PYTHONHOME ` environment variable instead.
158+ * Python initialization functions:
159+
160+ * :c:func: `!Py_GetExecPrefix `:
161+ use :c:func: `PyConfig_Get("base_exec_prefix") <PyConfig_Get> `
162+ (:data: `sys.base_exec_prefix `) instead.
163+ Use :c:func: `PyConfig_Get("exec_prefix") <PyConfig_Get> `
164+ (:data: `sys.exec_prefix `) if :ref: `virtual environments <venv-def >`
165+ need to be handled.
166+ * :c:func: `!Py_GetPath `:
167+ use :c:func: `PyConfig_Get("module_search_paths") <PyConfig_Get> `
168+ (:data: `sys.path `) instead.
169+ * :c:func: `!Py_GetPrefix `:
170+ use :c:func: `PyConfig_Get("base_prefix") <PyConfig_Get> `
171+ (:data: `sys.base_prefix `) instead.
172+ Use :c:func: `PyConfig_Get("prefix") <PyConfig_Get> `
173+ (:data: `sys.prefix `) if :ref: `virtual environments <venv-def >`
174+ need to be handled.
175+ * :c:func: `!Py_GetProgramFullPath `:
176+ use :c:func: `PyConfig_Get("executable") <PyConfig_Get> `
177+ (:data: `sys.executable `) instead.
178+ * :c:func: `!Py_GetProgramName `:
179+ use :c:func: `PyConfig_Get("executable") <PyConfig_Get> `
180+ (:data: `sys.executable `) instead.
181+ * :c:func: `!Py_GetPythonHome `:
182+ use :c:func: `PyConfig_Get("home") <PyConfig_Get> ` or the
183+ :envvar: `PYTHONHOME ` environment variable instead.
182184
0 commit comments