summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/classobject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c
index 4f73ff8..0e1308b 100644
--- a/Objects/classobject.c
+++ b/Objects/classobject.c
@@ -523,7 +523,9 @@ instance_dealloc(inst)
PyObject *error_type, *error_value, *error_traceback;
PyObject *del;
static PyObject *delstr;
+#ifdef Py_TRACE_REFS
extern long _Py_RefTotal;
+#endif
PyObject_GC_Fini(inst);
/* Call the __del__ method if it exists. First temporarily
revive the object and save the current exception, if any. */