diff options
author | Antoine Pitrou <pitrou@free.fr> | 2017-12-19 19:48:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-19 19:48:45 +0100 |
commit | 4b965930e8625f77cb0e821daf5cc40e85b45f84 (patch) | |
tree | 1d3ddc1ddcd39914e6136473352a89d3fb33f8c1 /Doc/glossary.rst | |
parent | e40ad7965331a3d2d43791f4df71acac9bcb3b1c (diff) | |
download | cpython-git-4b965930e8625f77cb0e821daf5cc40e85b45f84.tar.gz |
bpo-32377: improve __del__ docs and fix mention about resurrection (#4927)
* Fix #32377: improve __del__ docs and fix mention about resurrection
* Mention that CPython only calls __del__ once.
Diffstat (limited to 'Doc/glossary.rst')
-rw-r--r-- | Doc/glossary.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst index e875e1fc8a..f0fcb6273e 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -391,7 +391,8 @@ Glossary garbage collection The process of freeing memory when it is not used anymore. Python performs garbage collection via reference counting and a cyclic garbage - collector that is able to detect and break reference cycles. + collector that is able to detect and break reference cycles. The + garbage collector can be controlled using the :mod:`gc` module. .. index:: single: generator |