summaryrefslogtreecommitdiffstats
path: root/Doc/library/gc.rst
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-08-01 19:12:45 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-08-01 19:12:45 (GMT)
commit39668f57f445b8a2db63b0d0dc32c55a90d3f59e (patch)
treed7e9d1e0d5a45955ab883d8fbc5a020cec21df38 /Doc/library/gc.rst
parentb3c872403d0d2b00a1a383190d3e14eb94e84df1 (diff)
downloadcpython-39668f57f445b8a2db63b0d0dc32c55a90d3f59e.zip
cpython-39668f57f445b8a2db63b0d0dc32c55a90d3f59e.tar.gz
cpython-39668f57f445b8a2db63b0d0dc32c55a90d3f59e.tar.bz2
Issue #18589: fix hyperlinking of type slots (tp_*)
Diffstat (limited to 'Doc/library/gc.rst')
-rw-r--r--Doc/library/gc.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/gc.rst b/Doc/library/gc.rst
index 41bda1e..5878da5 100644
--- a/Doc/library/gc.rst
+++ b/Doc/library/gc.rst
@@ -121,8 +121,8 @@ The :mod:`gc` module provides the following functions:
Return a list of objects directly referred to by any of the arguments. The
referents returned are those objects visited by the arguments' C-level
- :attr:`tp_traverse` methods (if any), and may not be all objects actually
- directly reachable. :attr:`tp_traverse` methods are supported only by objects
+ :c:member:`~PyTypeObject.tp_traverse` methods (if any), and may not be all objects actually
+ directly reachable. :c:member:`~PyTypeObject.tp_traverse` methods are supported only by objects
that support garbage collection, and are only required to visit objects that may
be involved in a cycle. So, for example, if an integer is directly reachable
from an argument, that integer object may or may not appear in the result list.