summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-04-04 10:42:27 (GMT)
committerGuido van Rossum <guido@python.org>1991-04-04 10:42:27 (GMT)
commit572fd57b5a016060ce864646a97d7ef01a34cf54 (patch)
tree3f1c36e02f5356617001aa4278e4c9b5637762e8 /Include
parent21ed88cfe22c2c93ca0f044386bde0c5e435c4c3 (diff)
downloadcpython-572fd57b5a016060ce864646a97d7ef01a34cf54.zip
cpython-572fd57b5a016060ce864646a97d7ef01a34cf54.tar.gz
cpython-572fd57b5a016060ce864646a97d7ef01a34cf54.tar.bz2
Changed 'class member' to 'instance'.
Diffstat (limited to 'Include')
-rw-r--r--Include/classobject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/classobject.h b/Include/classobject.h
index 6370827..088815c 100644
--- a/Include/classobject.h
+++ b/Include/classobject.h
@@ -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 *));