diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-08-08 18:55:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-08 18:55:15 (GMT) |
commit | 103ce3debf07a48e79319acd0890be0c53e64fff (patch) | |
tree | 086f1e7b3b73c4f941c2239ddc2686d51a613838 /Doc/library | |
parent | d9106434f77fa84c8a59f8e60dc9c14cdd989b35 (diff) | |
download | cpython-103ce3debf07a48e79319acd0890be0c53e64fff.zip cpython-103ce3debf07a48e79319acd0890be0c53e64fff.tar.gz cpython-103ce3debf07a48e79319acd0890be0c53e64fff.tar.bz2 |
bpo-41455: Provide a link to how the third generation is collected in the GC docs (GH-21703)
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
(cherry picked from commit 82ca8fada15b121866530f2cdac1b7055be4a244)
Co-authored-by: Yaroslav Pankovych <31005942+P-Alban@users.noreply.github.com>
Diffstat (limited to 'Doc/library')
-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 0c33c86..2d85cd3 100644 --- a/Doc/library/gc.rst +++ b/Doc/library/gc.rst @@ -106,9 +106,9 @@ The :mod:`gc` module provides the following functions: allocations minus the number of deallocations exceeds *threshold0*, collection starts. Initially only generation ``0`` is examined. If generation ``0`` has been examined more than *threshold1* times since generation ``1`` has been - examined, then generation ``1`` is examined as well. Similarly, *threshold2* - controls the number of collections of generation ``1`` before collecting - generation ``2``. + examined, then generation ``1`` is examined as well. + With the third generation, things are a bit more complicated, + see `Collecting the oldest generation <https://devguide.python.org/garbage_collector/#collecting-the-oldest-generation>`_ for more information. .. function:: get_count() |