]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
newclassobject gets a third parameter (optional class name)
authorGuido van Rossum <guido@python.org>
Sun, 20 Oct 1991 20:12:10 +0000 (20:12 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 20 Oct 1991 20:12:10 +0000 (20:12 +0000)
Include/classobject.h

index e8dd93a262a29562b6a0bac6c341617151b1d8fb..fb52203beb8fb61bcbecc0c8e1ecbe6bd4eaf656 100644 (file)
@@ -36,7 +36,7 @@ extern typeobject Classtype, Instancetype, Instancemethodtype;
 #define is_instanceobject(op) ((op)->ob_type == &Instancetype)
 #define is_instancemethodobject(op) ((op)->ob_type == &Instancemethodtype)
 
-extern object *newclassobject PROTO((object *, object *));
+extern object *newclassobject PROTO((object *, object *, object *));
 extern object *newinstanceobject PROTO((object *));
 extern object *newinstancemethodobject PROTO((object *, object *));