summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2006-04-12 17:06:05 (GMT)
committerArmin Rigo <arigo@tunes.org>2006-04-12 17:06:05 (GMT)
commite170937af6463d92e95cea907964a23dff521f31 (patch)
treec8c4deb1ad0655eeedeef6754932db4afec7e930 /Python/pythonrun.c
parent314fce92dd12a8ff82876bd18845a2249a931fae (diff)
downloadcpython-e170937af6463d92e95cea907964a23dff521f31.zip
cpython-e170937af6463d92e95cea907964a23dff521f31.tar.gz
cpython-e170937af6463d92e95cea907964a23dff521f31.tar.bz2
Ignore the references to the dummy objects used as deleted keys
in dicts and sets when computing the total number of references.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 1aa6930..818c760 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -34,7 +34,7 @@
#else /* Py_REF_DEBUG */
#define PRINT_TOTAL_REFS() fprintf(stderr, \
"[%" PY_FORMAT_SIZE_T "d refs]\n", \
- _Py_RefTotal)
+ _Py_GetRefTotal())
#endif
extern char *Py_GetPath(void);