Commit 0799614f authored by Skip Montanaro's avatar Skip Montanaro

_Py_RefTotal should only be declared here when Py_TRACE_REFS are #define'd

parent 11f8539a
......@@ -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. */
......
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