diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index 2f77bb359d24e5..e5eb7245ebe6f9 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -54,12 +54,15 @@ The following functions can be safely called before Python is initialized: * :c:func:`PyMem_RawCalloc` * :c:func:`PyMem_RawFree` -.. note:: - - The following functions **should not be called** before - :c:func:`Py_Initialize`: :c:func:`Py_EncodeLocale`, :c:func:`Py_GetPath`, - :c:func:`Py_GetPrefix`, :c:func:`Py_GetExecPrefix` and - :c:func:`Py_GetProgramFullPath` and :c:func:`Py_GetPythonHome`. +On the contrary, the following functions **should not be called** before +:c:func:`Py_Initialize`: + +* :c:func:`Py_EncodeLocale` +* :c:func:`Py_GetExecPrefix` +* :c:func:`Py_GetPath` +* :c:func:`Py_GetPrefix` +* :c:func:`Py_GetProgramFullPath` +* :c:func:`Py_GetPythonHome` .. _global-conf-vars: