Changed 'class member' to 'instance'.

This commit is contained in:
Guido van Rossum 1991-04-04 10:42:27 +00:00
parent 21ed88cfe2
commit 572fd57b5a
1 changed files with 3 additions and 3 deletions

View File

@ -30,14 +30,14 @@ It should be possible to use other object types as base classes,
but currently it isn't. We'll see if we can fix that later, sigh...
*/
extern typeobject Classtype, Classmembertype, Classmethodtype;
extern typeobject Classtype, Instancetype, Classmethodtype;
#define is_classobject(op) ((op)->ob_type == &Classtype)
#define is_classmemberobject(op) ((op)->ob_type == &Classmembertype)
#define is_instanceobject(op) ((op)->ob_type == &Classmembertype)
#define is_classmethodobject(op) ((op)->ob_type == &Classmethodtype)
extern object *newclassobject PROTO((object *, object *));
extern object *newclassmemberobject PROTO((object *));
extern object *newinstanceobject PROTO((object *));
extern object *newclassmethodobject PROTO((object *, object *));
extern object *classmethodgetfunc PROTO((object *));