summaryrefslogtreecommitdiffstats
path: root/Include/object.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-07 10:32:04 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-07 10:32:04 (GMT)
commit6fde390655c4d9ff3730ee0ff02187476557bc3a (patch)
tree30f63de870399ebaf8fd53d6359698960769f05c /Include/object.h
parent4a1da2689181a69236debfeac0b13729fdaecf76 (diff)
downloadcpython-6fde390655c4d9ff3730ee0ff02187476557bc3a.zip
cpython-6fde390655c4d9ff3730ee0ff02187476557bc3a.tar.gz
cpython-6fde390655c4d9ff3730ee0ff02187476557bc3a.tar.bz2
new tp_str and tp_doc members in type object
Diffstat (limited to 'Include/object.h')
-rw-r--r--Include/object.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h
index 433876f..58e2d15 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -218,6 +218,16 @@ typedef struct _typeobject {
hashfunc tp_hash;
binaryfunc tp_call;
+ reprfunc tp_str;
+
+ /* Space for future expansion */
+ long tp_xxx1;
+ long tp_xxx2;
+ long tp_xxx3;
+ long tp_xxx4;
+
+ char *tp_doc; /* Documentation string */
+
#ifdef COUNT_ALLOCS
/* these must be last */
int tp_alloc;