diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2014-12-07 00:28:27 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2014-12-07 00:28:27 (GMT) |
commit | 5db1bb81ff88c90364cfcf458bae8115126411d8 (patch) | |
tree | 334a5d67f565b3a103f068a82147b6bede9e1b20 /Doc/library/gc.rst | |
parent | b9859daeeb8ad767d2b2cc56f72736810114dd49 (diff) | |
download | cpython-5db1bb81ff88c90364cfcf458bae8115126411d8.zip cpython-5db1bb81ff88c90364cfcf458bae8115126411d8.tar.gz cpython-5db1bb81ff88c90364cfcf458bae8115126411d8.tar.bz2 |
Issue #22696: Add function :func:`sys.is_finalizing` to know about interpreter shutdown.
Diffstat (limited to 'Doc/library/gc.rst')
-rw-r--r-- | Doc/library/gc.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/gc.rst b/Doc/library/gc.rst index 8135542..d11c2e1 100644 --- a/Doc/library/gc.rst +++ b/Doc/library/gc.rst @@ -186,7 +186,7 @@ values but should not rebind them): added to this list rather than freed. .. versionchanged:: 3.2 - If this list is non-empty at interpreter shutdown, a + If this list is non-empty at :term:`interpreter shutdown`, a :exc:`ResourceWarning` is emitted, which is silent by default. If :const:`DEBUG_UNCOLLECTABLE` is set, in addition all uncollectable objects are printed. @@ -252,8 +252,8 @@ The following constants are provided for use with :func:`set_debug`: to the ``garbage`` list. .. versionchanged:: 3.2 - Also print the contents of the :data:`garbage` list at interpreter - shutdown, if it isn't empty. + Also print the contents of the :data:`garbage` list at + :term:`interpreter shutdown`, if it isn't empty. .. data:: DEBUG_SAVEALL |