]> granicus.if.org Git - python/commitdiff
Remove comment with very long lines that explained what the code used
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 22 May 2003 15:47:02 +0000 (15:47 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 22 May 2003 15:47:02 +0000 (15:47 +0000)
to do.

XXX Please be careful when checking in patches to avoid checking in
junk that explains what the patched code used to do.

Python/compile.c

index 76a37115105c9c6178fcf967f311444362aba61c..8c051bca505c77527de04db0f3ee3cea6cdd62e5 100644 (file)
@@ -4628,9 +4628,9 @@ symtable_cellvar_offsets(PyObject **cellvars, int argcount,
                        }
                }
        }
-       if (list == NULL)       /* There used to be a check here for the size of */
-               return 0;               /* the list being 0, which would have leaked the */
-                                               /* list if that condition was ever possible. JRH */
+       if (list == NULL)
+               return 0;
+
        /* There are cellvars that are also arguments.  Create a dict
           to replace cellvars and put the args at the front.
        */