summaryrefslogtreecommitdiff
path: root/dbus_bindings/conn.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus_bindings/conn.c')
-rw-r--r--dbus_bindings/conn.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/dbus_bindings/conn.c b/dbus_bindings/conn.c
index 01c326b..59c3b36 100644
--- a/dbus_bindings/conn.c
+++ b/dbus_bindings/conn.c
@@ -450,11 +450,7 @@ PyTypeObject DBusPyConnection_Type = {
0, /*tp_getattro*/
0, /*tp_setattro*/
0, /*tp_as_buffer*/
-#ifdef PY3
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
-#else
- Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_WEAKREFS | Py_TPFLAGS_BASETYPE,
-#endif
Connection_tp_doc, /*tp_doc*/
0, /*tp_traverse*/
0, /*tp_clear*/