mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
newclassobject gets a third parameter (optional class name)
This commit is contained in:
parent
9430839acc
commit
2b9d6e2008
1 changed files with 1 additions and 1 deletions
|
@ -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 *));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue