Commit 8f4e35d5 authored by Guido van Rossum's avatar Guido van Rossum

newclassobject gets a third parameter (optional class name)

parent 9c388e30
......@@ -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 *));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment