summaryrefslogtreecommitdiffstats
path: root/Modules/gcmodule.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2003-04-03 16:29:13 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2003-04-03 16:29:13 (GMT)
commit059b094e29df9727de18d229149a1495baccca46 (patch)
tree1a90ab02d41283fae62e3b014ea095d37cf6d5ea /Modules/gcmodule.c
parent5bd378bfcaeff7b4373f6f9abbe8c53b0a333b7b (diff)
downloadcpython-059b094e29df9727de18d229149a1495baccca46.zip
cpython-059b094e29df9727de18d229149a1495baccca46.tar.gz
cpython-059b094e29df9727de18d229149a1495baccca46.tar.bz2
Add get_referrents() helper function.
Diffstat (limited to 'Modules/gcmodule.c')
-rw-r--r--Modules/gcmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
index fc834f2..4c3b11d 100644
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -838,7 +838,7 @@ referrentsvisit(PyObject *obj, PyObject *list)
PyDoc_STRVAR(gc_get_referrents__doc__,
"get_referrents(*objs) -> list\n\
-Return the list of objects that directly refer to any of objs.");
+Return the list of objects that are directly referred to by objs.");
static PyObject *
gc_get_referrents(PyObject *self, PyObject *args)