Add get_referrents() helper function.

This commit is contained in:
Jeremy Hylton 2003-04-03 16:29:13 +00:00
parent 5bd378bfca
commit 059b094e29
1 changed files with 1 additions and 1 deletions

View File

@ -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)