Patch #542659: Eliminate duplicate check for NULL of freevars/cellvars.

This commit is contained in:
Martin v. Löwis 2002-04-14 09:53:49 +00:00
parent 88c9344986
commit 314fc79ce8
1 changed files with 0 additions and 4 deletions

View File

@ -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; ) {