summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-15 22:03:32 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-15 22:03:32 (GMT)
commit687ae00460da9cac04eb1ba8f6f5ab4db25fbfc2 (patch)
tree24a57c48ce1aa06744efacd21d635c581ef549fd /Include
parent6642653875ff1b2f4bbe9c351c58cfa1c1abbede (diff)
downloadcpython-687ae00460da9cac04eb1ba8f6f5ab4db25fbfc2.zip
cpython-687ae00460da9cac04eb1ba8f6f5ab4db25fbfc2.tar.gz
cpython-687ae00460da9cac04eb1ba8f6f5ab4db25fbfc2.tar.bz2
Get rid of __defined__ and tp_defined -- there's no need to
distinguish __dict__ and __defined__ any more. In the C structure, tp_cache takes its place -- but this hasn't been implemented yet.
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h
index a943c00..c565fbe 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -288,7 +288,7 @@ typedef struct _typeobject {
inquiry tp_is_gc; /* For PyObject_IS_GC */
PyObject *tp_bases;
PyObject *tp_mro; /* method resolution order */
- PyObject *tp_defined;
+ PyObject *tp_cache;
PyObject *tp_subclasses;
PyObject *tp_weaklist;