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

(cherry picked from commit ddbb978e10)

Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
This commit is contained in:
Miss Islington (bot) 2019-03-30 04:29:43 -07:00 committed by GitHub
parent 5b80cb5584
commit 128e40f06f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ The following functions can be safely called before Python is initialized:
* Informative functions: * Informative functions:
* :c:func:`Py_IsInitialized`
* :c:func:`PyMem_GetAllocator` * :c:func:`PyMem_GetAllocator`
* :c:func:`PyObject_GetArenaAllocator` * :c:func:`PyObject_GetArenaAllocator`
* :c:func:`Py_GetBuildInfo` * :c:func:`Py_GetBuildInfo`