summaryrefslogtreecommitdiffstats
path: root/Doc/library/gc.rst
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-08-01 19:14:43 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-08-01 19:14:43 (GMT)
commita68cbfa5561434208d7a822128eeabca50bd7a29 (patch)
tree3bf29283c78d69e9fb94a4e638e9ddf85600db5b /Doc/library/gc.rst
parent932ff8368289b53c4ca37167747bb71d146fc6ea (diff)
parent39668f57f445b8a2db63b0d0dc32c55a90d3f59e (diff)
downloadcpython-a68cbfa5561434208d7a822128eeabca50bd7a29.zip
cpython-a68cbfa5561434208d7a822128eeabca50bd7a29.tar.gz
cpython-a68cbfa5561434208d7a822128eeabca50bd7a29.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 c578690..8e3a4bd 100644
--- a/Doc/library/gc.rst
+++ b/Doc/library/gc.rst
@@ -139,8 +139,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.