summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 77a4572..38919ff 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -61,12 +61,7 @@ Py_ssize_t _Py_RefTotal;
Py_ssize_t
_Py_GetRefTotal(void)
{
- PyObject *o;
- Py_ssize_t total = _Py_RefTotal;
- o = _PySet_Dummy;
- if (o != NULL)
- total -= Py_REFCNT(o);
- return total;
+ return _Py_RefTotal;
}
void