summaryrefslogtreecommitdiff
path: root/python/hashstring.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/hashstring.cc')
-rw-r--r--python/hashstring.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/hashstring.cc b/python/hashstring.cc
index 71ae5bf4..58bcca9e 100644
--- a/python/hashstring.cc
+++ b/python/hashstring.cc
@@ -118,7 +118,8 @@ PyTypeObject PyHashString_Type = {
0, // tp_getattro
0, // tp_setattro
0, // tp_as_buffer
- Py_TPFLAGS_DEFAULT, // tp_flags
+ (Py_TPFLAGS_DEFAULT | // tp_flags
+ Py_TPFLAGS_BASETYPE),
HashString_doc, // tp_doc
0, // tp_traverse
0, // tp_clear