Ignore the references to the dummy objects used as deleted keys

in dicts and sets when computing the total number of references.
This commit is contained in:
Armin Rigo 2006-04-12 17:06:05 +00:00
parent 314fce92dd
commit e170937af6
6 changed files with 40 additions and 5 deletions

View file

@ -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);