mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Patch #542659: Eliminate duplicate check for NULL of freevars/cellvars.
This commit is contained in:
@@ -286,11 +286,7 @@ PyCode_New(int argcount, int nlocals, int stacksize, int flags,
|
||||
}
|
||||
intern_strings(names);
|
||||
intern_strings(varnames);
|
||||
if (freevars == NULL)
|
||||
freevars = PyTuple_New(0);
|
||||
intern_strings(freevars);
|
||||
if (cellvars == NULL)
|
||||
cellvars = PyTuple_New(0);
|
||||
intern_strings(cellvars);
|
||||
/* Intern selected string constants */
|
||||
for (i = PyTuple_Size(consts); --i >= 0; ) {
|
||||
|
||||
Reference in New Issue
Block a user