mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
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:
parent
6642653875
commit
687ae00460
4 changed files with 33 additions and 67 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue