summaryrefslogtreecommitdiffstats
path: root/Doc/extending/extending.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-31 09:38:49 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-31 09:38:49 (GMT)
commita4c8c47961305487ef6c40a6d882bb956f2c5a0b (patch)
treeade0c211dbcb38c39d91274d8ba6fdadd03bf8bc /Doc/extending/extending.rst
parent8ed75cd8e931c075c38246fbd50dd5f18defdba6 (diff)
downloadcpython-a4c8c47961305487ef6c40a6d882bb956f2c5a0b.zip
cpython-a4c8c47961305487ef6c40a6d882bb956f2c5a0b.tar.gz
cpython-a4c8c47961305487ef6c40a6d882bb956f2c5a0b.tar.bz2
#22613: remaining corrections in extending/reference docs (thanks Jacques Ducasse)
Diffstat (limited to 'Doc/extending/extending.rst')
-rw-r--r--Doc/extending/extending.rst7
1 files changed, 2 insertions, 5 deletions
diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst
index a3bf265..e78fe0c 100644
--- a/Doc/extending/extending.rst
+++ b/Doc/extending/extending.rst
@@ -857,11 +857,8 @@ reclaim the memory belonging to any objects in a reference cycle, or referenced
from the objects in the cycle, even though there are no further references to
the cycle itself.
-The cycle detector is able to detect garbage cycles and can reclaim them so long
-as there are no finalizers implemented in Python (:meth:`__del__` methods).
-When there are such finalizers, the detector exposes the cycles through the
-:mod:`gc` module (specifically, the :attr:`~gc.garbage` variable in that module).
-The :mod:`gc` module also exposes a way to run the detector (the
+The cycle detector is able to detect garbage cycles and can reclaim them.
+The :mod:`gc` module exposes a way to run the detector (the
:func:`~gc.collect` function), as well as configuration
interfaces and the ability to disable the detector at runtime. The cycle
detector is considered an optional component; though it is included by default,