]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41117: Cleanup subtract_refs() (GH-27593)
authorVictor Stinner <vstinner@python.org>
Wed, 4 Aug 2021 16:09:14 +0000 (18:09 +0200)
committerGitHub <noreply@github.com>
Wed, 4 Aug 2021 16:09:14 +0000 (18:09 +0200)
commitc34fa2bb06ea44045af8493dfa414addb2b7ce66
tree7d63239b917611821dccfa0040c4b792ba3ec2f7
parentcee67fa66129b5d1db5c8aa3884338f82f0da3de
bpo-41117: Cleanup subtract_refs() (GH-27593)

subtract_refs() reuses the 'op' variable rather than calling the
FROM_GC() macro twice.

Issue reported by William Pickard.
Modules/gcmodule.c