mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Add get_referrents() helper function.
This commit is contained in:
parent
5bd378bfca
commit
059b094e29
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue