diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-11-30 03:18:29 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-30 03:18:29 +0000 |
commit | 0b2be356380b91c945a044ddd261b5c8c3c264b5 (patch) | |
tree | 649c2fa5b72adabdca3c3485c138e7ab31f93e94 /Doc/c-api/intro.rst | |
parent | 8f7197de081db9b22c42a560041a2c6fb63d6e98 (diff) | |
download | cpython-0b2be356380b91c945a044ddd261b5c8c3c264b5.tar.gz |
Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failure
Diffstat (limited to 'Doc/c-api/intro.rst')
-rw-r--r-- | Doc/c-api/intro.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/intro.rst b/Doc/c-api/intro.rst index bc3a752132..95cbef567f 100644 --- a/Doc/c-api/intro.rst +++ b/Doc/c-api/intro.rst @@ -578,9 +578,9 @@ Sometimes, it is desirable to "uninitialize" Python. For instance, the application may want to start over (make another call to :c:func:`Py_Initialize`) or the application is simply done with its use of Python and wants to free memory allocated by Python. This can be accomplished -by calling :c:func:`Py_Finalize`. The function :c:func:`Py_IsInitialized` returns +by calling :c:func:`Py_FinalizeEx`. The function :c:func:`Py_IsInitialized` returns true if Python is currently in the initialized state. More information about -these functions is given in a later chapter. Notice that :c:func:`Py_Finalize` +these functions is given in a later chapter. Notice that :c:func:`Py_FinalizeEx` does *not* free all memory allocated by the Python interpreter, e.g. memory allocated by extension modules currently cannot be released. |