]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
C API docs: Py_IsInitialized is always safe to call (GH-12630)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 30 Mar 2019 11:29:43 +0000 (04:29 -0700)
committerGitHub <noreply@github.com>
Sat, 30 Mar 2019 11:29:43 +0000 (04:29 -0700)
(cherry picked from commit ddbb978e1065dde21d1662386b26ded359f4b16e)

Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
Doc/c-api/init.rst

index 50998be5747ba47af24e3cb4c84f47054bfdd7b0..2cdc0527dff94d5073e2d1b40b652843c53a46a7 100644 (file)
@@ -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`