Fix various Python-related bugs.
[ira/wip.git] / lib / tevent / pytevent.c
index 02e0db3f843cbf6d10b358848eee5a4b763a0a95..4f18c87a90b77d71bf1647dd63189eb26ed02f4c 100644 (file)
@@ -96,6 +96,7 @@ PyTypeObject PyEventContext = {
     .tp_methods = py_event_ctx_methods,
     .tp_basicsize = sizeof(py_talloc_Object),
     .tp_dealloc = py_talloc_dealloc,
+    .tp_flags = Py_TPFLAGS_DEFAULT,
     .tp_new = py_event_ctx_new,
 };