Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e3090c

Browse files
committed
newclassobject() gets a third argument
1 parent fbab905 commit 7e3090c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/ceval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1524,5 +1524,5 @@ build_class(v, w)
15241524
err_setstr(SystemError, "build_class with non-dictionary");
15251525
return NULL;
15261526
}
1527-
return newclassobject(v, w);
1527+
return newclassobject(v, w, (object *) NULL);
15281528
}

0 commit comments

Comments
 (0)