There was an error while loading. Please reload this page.
1 parent 524f146 commit 03a9096Copy full SHA for 03a9096
1 file changed
Include/classobject.h
@@ -43,18 +43,16 @@ typedef struct {
43
object *cl_bases; /* A tuple of class objects */
44
object *cl_dict; /* A dictionary */
45
object *cl_name; /* A string */
46
+ /* The following three are functions or NULL */
47
+ object *cl_getattr;
48
+ object *cl_setattr;
49
+ object *cl_delattr;
50
} classobject;
51
52
typedef struct {
53
OB_HEAD
54
classobject *in_class; /* The class object */
55
object *in_dict; /* A dictionary */
- object *in_getattr; /* A method or NULL */
- object *in_setattr; /* A method or NULL */
- long in_ident; /* A thread ident or 0 */
-#ifdef WITH_THREAD
56
- type_lock *in_lock; /* A lock or NULL */
57
-#endif
58
} instanceobject;
59
60
extern DL_IMPORT typeobject Classtype, Instancetype, Instancemethodtype;
0 commit comments