diff options
author | Guido van Rossum <guido@python.org> | 1997-04-03 18:31:43 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-04-03 18:31:43 (GMT) |
commit | 6191551ad6b122d49878843cb2aab8070f10c180 (patch) | |
tree | 077f34d63804a6da6d54fe499574e51bc79ff235 | |
parent | d641d67b89a749832a99615eb70f73abc87eced2 (diff) | |
download | cpython-6191551ad6b122d49878843cb2aab8070f10c180.zip cpython-6191551ad6b122d49878843cb2aab8070f10c180.tar.gz cpython-6191551ad6b122d49878843cb2aab8070f10c180.tar.bz2 |
Remove a redundant XINCREF(value). This caused the reference count of
all locals to be upped by one when `from <module> import <whatever>'
was executed.
-rw-r--r-- | Objects/frameobject.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c index ab36e67..1936138 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -337,7 +337,6 @@ locals_2_fast(f, clear) INCREF(value); if (value != NULL || clear) { XDECREF(fast[j]); - XINCREF(value); fast[j] = value; } } |