summaryrefslogtreecommitdiff
path: root/psycopg/replication_connection_type.c
diff options
context:
space:
mode:
Diffstat (limited to 'psycopg/replication_connection_type.c')
-rw-r--r--psycopg/replication_connection_type.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/psycopg/replication_connection_type.c b/psycopg/replication_connection_type.c
index b8c1d2d..7e51904 100644
--- a/psycopg/replication_connection_type.c
+++ b/psycopg/replication_connection_type.c
@@ -129,6 +129,11 @@ replicationConnection_repr(replicationConnectionObject *self)
self, self->conn.dsn, self->conn.closed);
}
+static int
+replicationConnectionType_traverse(PyObject *self, visitproc visit, void *arg)
+{
+ return connectionType.tp_traverse(self, visit, arg);
+}
/* object calculated member list */
@@ -173,7 +178,7 @@ PyTypeObject replicationConnectionType = {
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_HAVE_ITER |
Py_TPFLAGS_HAVE_GC, /*tp_flags*/
replicationConnectionType_doc, /*tp_doc*/
- 0, /*tp_traverse*/
+ replicationConnectionType_traverse, /*tp_traverse*/
0, /*tp_clear*/
0, /*tp_richcompare*/
0, /*tp_weaklistoffset*/