mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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.
This commit is contained in:
parent
d641d67b89
commit
6191551ad6
1 changed files with 0 additions and 1 deletions
|
@ -337,7 +337,6 @@ locals_2_fast(f, clear)
|
|||
INCREF(value);
|
||||
if (value != NULL || clear) {
|
||||
XDECREF(fast[j]);
|
||||
XINCREF(value);
|
||||
fast[j] = value;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue