diff options
| author | Guido van Rossum <guido@python.org> | 1997-04-03 18:31:43 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1997-04-03 18:31:43 +0000 |
| commit | 6191551ad6b122d49878843cb2aab8070f10c180 (patch) | |
| tree | 077f34d63804a6da6d54fe499574e51bc79ff235 | |
| parent | d641d67b89a749832a99615eb70f73abc87eced2 (diff) | |
| download | cpython-git-6191551ad6b122d49878843cb2aab8070f10c180.tar.gz | |
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 ab36e67667..1936138cbf 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; } } |
