diff options
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 3317e55..e093dc5 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -379,7 +379,7 @@ Py_Finalize(void) #endif #ifdef Py_REF_DEBUG - fprintf(stderr, "[%ld refs]\n", _Py_RefTotal); + fprintf(stderr, "[%ld refs]\n", _Py_GetRefTotal()); #endif #ifdef Py_TRACE_REFS @@ -694,7 +694,7 @@ PyRun_InteractiveLoopFlags(FILE *fp, const char *filename, PyCompilerFlags *flag for (;;) { ret = PyRun_InteractiveOneFlags(fp, filename, flags); #ifdef Py_REF_DEBUG - fprintf(stderr, "[%ld refs]\n", _Py_RefTotal); + fprintf(stderr, "[%ld refs]\n", _Py_GetRefTotal()); #endif if (ret == E_EOF) return 0; |