Kaydet (Commit) 059b094e authored tarafından Jeremy Hylton's avatar Jeremy Hylton

Add get_referrents() helper function.

üst 5bd378bf
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment