summaryrefslogtreecommitdiff
path: root/python/indexrecords.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/indexrecords.cc')
-rw-r--r--python/indexrecords.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/indexrecords.cc b/python/indexrecords.cc
index 35e41c59..61ff07fc 100644
--- a/python/indexrecords.cc
+++ b/python/indexrecords.cc
@@ -104,7 +104,8 @@ PyTypeObject PyIndexRecords_Type = {
0, // tp_getattro
0, // tp_setattro
0, // tp_as_buffer
- Py_TPFLAGS_DEFAULT, // tp_flags
+ (Py_TPFLAGS_DEFAULT | // tp_flags
+ Py_TPFLAGS_BASETYPE),
IndexRecords_doc, // tp_doc
0, // tp_traverse
0, // tp_clear