diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-04-14 09:53:49 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-04-14 09:53:49 (GMT) |
commit | 314fc79ce8ffa79fbe42d26a4dc350b901d9341b (patch) | |
tree | 084293e57e5b4b2897cb23b940b23651f44d21fa | |
parent | 88c934498696a33bd52d00c48f00c1d0a9564361 (diff) | |
download | cpython-314fc79ce8ffa79fbe42d26a4dc350b901d9341b.zip cpython-314fc79ce8ffa79fbe42d26a4dc350b901d9341b.tar.gz cpython-314fc79ce8ffa79fbe42d26a4dc350b901d9341b.tar.bz2 |
Patch #542659: Eliminate duplicate check for NULL of freevars/cellvars.
-rw-r--r-- | Python/compile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/compile.c b/Python/compile.c index de0a8e2..4340522 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -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; ) { |