summaryrefslogtreecommitdiffstats
path: root/Objects/stringobject.c
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2000-06-20 08:12:48 (GMT)
committerMark Hammond <mhammond@skippinet.com.au>2000-06-20 08:12:48 (GMT)
commit440d89823020b71d7659fcd357c24549ce815b4c (patch)
tree9c99e26e945d77e56cc28544ac7371269940b70f /Objects/stringobject.c
parentabf17032a45c5253fd7f5211cc5b4b0409721699 (diff)
downloadcpython-440d89823020b71d7659fcd357c24549ce815b4c.zip
cpython-440d89823020b71d7659fcd357c24549ce815b4c.tar.gz
cpython-440d89823020b71d7659fcd357c24549ce815b4c.tar.bz2
Added a new debug method sys.gettotalrefcount(), which returns the total number of references on all Python objects. This is only enabled when Py_TRACE_REFS is defined (which includes default debug builds under Windows).
Also removed a redundant cast from sys.getrefcount(), as discussed on the patches list.
Diffstat (limited to 'Objects/stringobject.c')
0 files changed, 0 insertions, 0 deletions