summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2019-03-30 11:24:05 (GMT)
committerGitHub <noreply@github.com>2019-03-30 11:24:05 (GMT)
commitddbb978e1065dde21d1662386b26ded359f4b16e (patch)
tree36e5d0eb188bb0f67da8977c50058be10eae525e
parent172bb39452ae8b3ccdf5d1f23ead46f44200cd49 (diff)
downloadcpython-ddbb978e1065dde21d1662386b26ded359f4b16e.zip
cpython-ddbb978e1065dde21d1662386b26ded359f4b16e.tar.gz
cpython-ddbb978e1065dde21d1662386b26ded359f4b16e.tar.bz2
C API docs: Py_IsInitialized is always safe to call (GH-12630)
-rw-r--r--Doc/c-api/init.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 2c6d21f..b87e999 100644
--- a/Doc/c-api/init.rst
+++ b/Doc/c-api/init.rst
@@ -37,6 +37,7 @@ The following functions can be safely called before Python is initialized:
* Informative functions:
+ * :c:func:`Py_IsInitialized`
* :c:func:`PyMem_GetAllocator`
* :c:func:`PyObject_GetArenaAllocator`
* :c:func:`Py_GetBuildInfo`