summaryrefslogtreecommitdiff
path: root/auth/credentials/pycredentials.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth/credentials/pycredentials.c')
-rw-r--r--auth/credentials/pycredentials.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/credentials/pycredentials.c b/auth/credentials/pycredentials.c
index 798cdb41a00..08b78e9dfce 100644
--- a/auth/credentials/pycredentials.c
+++ b/auth/credentials/pycredentials.c
@@ -1437,7 +1437,7 @@ static struct PyModuleDef moduledef = {
PyTypeObject PyCredentials = {
.tp_name = "credentials.Credentials",
.tp_new = py_creds_new,
- .tp_flags = Py_TPFLAGS_DEFAULT,
+ .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
.tp_methods = py_creds_methods,
};