mirror of https://github.com/python/cpython
newclassobject() gets a third argument
This commit is contained in:
parent
fbab905ae1
commit
7e3090cf08
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue