summaryrefslogtreecommitdiff
path: root/Python/getargs.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-26 17:56:51 +0000
committerFred Drake <fdrake@acm.org>2001-10-26 17:56:51 +0000
commitc916f5a390b0ca559de54a15d4014e18792674ea (patch)
treec258ba669054c2b6f28d5294b66681cc81022442 /Python/getargs.c
parent7408da54e2b8ca3afef70fef12bf7c9ce804c969 (diff)
downloadcpython-git-c916f5a390b0ca559de54a15d4014e18792674ea.tar.gz
Be smarter about clearing the weakref lists for instances, instance methods,
and functions: we only need to call PyObject_ClearWeakRefs() if the weakref list is non-NULL. Since these objects are common but weakrefs are still unusual, saving the call at deallocation time makes a lot of sense.
Diffstat (limited to 'Python/getargs.c')
0 files changed, 0 insertions, 0 deletions