diff options
author | Guido van Rossum <guido@python.org> | 1991-05-05 20:04:55 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-05-05 20:04:55 (GMT) |
commit | faf9c960a2bd8fe452a4fc8b84c91c6d60799133 (patch) | |
tree | a942d1b0900cb7e64b2f6ea17bc0d5a756c389fc /Include/classobject.h | |
parent | e8122f19a09a761c563229098b14abfdcd8674d0 (diff) | |
download | cpython-faf9c960a2bd8fe452a4fc8b84c91c6d60799133.zip cpython-faf9c960a2bd8fe452a4fc8b84c91c6d60799133.tar.gz cpython-faf9c960a2bd8fe452a4fc8b84c91c6d60799133.tar.bz2 |
Renamed class members to instances and class methods to instance methods
,.
Diffstat (limited to 'Include/classobject.h')
-rw-r--r-- | Include/classobject.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Include/classobject.h b/Include/classobject.h index 088815c..e8dd93a 100644 --- a/Include/classobject.h +++ b/Include/classobject.h @@ -30,15 +30,15 @@ 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, Instancetype, Classmethodtype; +extern typeobject Classtype, Instancetype, Instancemethodtype; #define is_classobject(op) ((op)->ob_type == &Classtype) -#define is_instanceobject(op) ((op)->ob_type == &Classmembertype) -#define is_classmethodobject(op) ((op)->ob_type == &Classmethodtype) +#define is_instanceobject(op) ((op)->ob_type == &Instancetype) +#define is_instancemethodobject(op) ((op)->ob_type == &Instancemethodtype) extern object *newclassobject PROTO((object *, object *)); extern object *newinstanceobject PROTO((object *)); -extern object *newclassmethodobject PROTO((object *, object *)); +extern object *newinstancemethodobject PROTO((object *, object *)); -extern object *classmethodgetfunc PROTO((object *)); -extern object *classmethodgetself PROTO((object *)); +extern object *instancemethodgetfunc PROTO((object *)); +extern object *instancemethodgetself PROTO((object *)); |