summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2006-04-12 17:06:05 +0000
committerArmin Rigo <arigo@tunes.org>2006-04-12 17:06:05 +0000
commit290127c25f7dae8c10b04f00ca0fe4a4601f9800 (patch)
tree9a1734230aac3d28e0f0fd449fdc2e79cad6cc7e /Python/pythonrun.c
parent6fa1f34653ce0f88879ca8c80d47303217114463 (diff)
downloadcpython-290127c25f7dae8c10b04f00ca0fe4a4601f9800.tar.gz
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 1aa6930435..818c760901 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);