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.
This commit is contained in:
Guido van Rossum 2001-10-15 22:03:32 +00:00
parent 6642653875
commit 687ae00460
4 changed files with 33 additions and 67 deletions

View file

@ -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;