diff options
Diffstat (limited to 'Objects/tupleobject.c')
-rw-r--r-- | Objects/tupleobject.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c index c26b7df..451e794 100644 --- a/Objects/tupleobject.c +++ b/Objects/tupleobject.c @@ -447,6 +447,12 @@ PyTypeObject PyTuple_Type = { &tuple_as_sequence, /*tp_as_sequence*/ 0, /*tp_as_mapping*/ (hashfunc)tuplehash, /*tp_hash*/ + 0, /*tp_call*/ + 0, /*tp_str*/ + 0, /*tp_getattro*/ + 0, /*tp_setattro*/ + 0, /*tp_as_buffer*/ + Py_TPFLAGS_DEFAULT, /*tp_flags*/ }; /* The following function breaks the notion that tuples are immutable: |