mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
@@ -466,8 +466,9 @@ sys_gettotalrefcount(PyObject *self)
|
||||
static char getrefcount_doc[] =
|
||||
"getrefcount(object) -> integer\n\
|
||||
\n\
|
||||
Return the current reference count for the object. This includes the\n\
|
||||
temporary reference in the argument list, so it is at least 2.";
|
||||
Return the reference count of object. The count returned is generally\n\
|
||||
one higher than you might expect, because it includes the (temporary)\n\
|
||||
reference as an argument to getrefcount().";
|
||||
|
||||
#ifdef COUNT_ALLOCS
|
||||
static PyObject *
|
||||
|
||||
Reference in New Issue
Block a user