diff --git a/src/index.c b/src/index.c index 79554fc..81b20cb 100644 --- a/src/index.c +++ b/src/index.c @@ -542,7 +542,7 @@ PyTypeObject IndexIterType = { 0, /* tp_hash */ 0, /* tp_call */ 0, /* tp_str */ - PyObject_GenericGetAttr, /* tp_getattro */ + 0, /* tp_getattro */ 0, /* tp_setattro */ 0, /* tp_as_buffer */ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */ diff --git a/src/reference.c b/src/reference.c index b508567..6d9a773 100644 --- a/src/reference.c +++ b/src/reference.c @@ -446,7 +446,7 @@ PyTypeObject RefLogEntryType = { 0, /* tp_iternext */ 0, /* tp_methods */ RefLogEntry_members, /* tp_members */ - 0, /* tp_getset */ + RefLogEntry_getseters, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ 0, /* tp_descr_get */ diff --git a/src/tree.c b/src/tree.c index 6121c3f..c092e5e 100644 --- a/src/tree.c +++ b/src/tree.c @@ -462,7 +462,7 @@ PyTypeObject TreeIterType = { 0, /* tp_hash */ 0, /* tp_call */ 0, /* tp_str */ - PyObject_GenericGetAttr, /* tp_getattro */ + 0, /* tp_getattro */ 0, /* tp_setattro */ 0, /* tp_as_buffer */ Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */