From: Jeremy Hylton Date: Thu, 3 Apr 2003 16:29:13 +0000 (+0000) Subject: Add get_referrents() helper function. X-Git-Tag: v2.3c1~1289 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=059b094e29df9727de18d229149a1495baccca46;p=python Add get_referrents() helper function. --- diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index fc834f2cf5..4c3b11d38a 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)