[Python-checkins] C API docs: Py_IsInitialized is always safe to call (GH-12630)

Miss Islington (bot) webhook-mailer at python.org
Sat Mar 30 07:29:47 EDT 2019


https://github.com/python/cpython/commit/128e40f06f3ddc18e113339af464ffefd070eaef
commit: 128e40f06f3ddc18e113339af464ffefd070eaef
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-03-30T04:29:43-07:00
summary:

C API docs: Py_IsInitialized is always safe to call (GH-12630)

(cherry picked from commit ddbb978e1065dde21d1662386b26ded359f4b16e)

Co-authored-by: Nick Coghlan <ncoghlan at gmail.com>

files:
M Doc/c-api/init.rst

diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst
index 50998be5747b..2cdc0527dff9 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`



More information about the Python-checkins mailing list