]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
newclassobject() gets a third argument
authorGuido van Rossum <guido@python.org>
Sun, 20 Oct 1991 20:26:16 +0000 (20:26 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 20 Oct 1991 20:26:16 +0000 (20:26 +0000)
Python/ceval.c

index 1c8f3af108e763c9b178e9e0224b5dc9e85ed98d..76869ff7d9fbd5d34279ca26dc220faaaf125c3b 100644 (file)
@@ -1524,5 +1524,5 @@ build_class(v, w)
                err_setstr(SystemError, "build_class with non-dictionary");
                return NULL;
        }
-       return newclassobject(v, w);
+       return newclassobject(v, w, (object *) NULL);
 }