We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a36bc45 commit c35e2c7Copy full SHA for c35e2c7
extension/maxminddb.c
@@ -737,6 +737,7 @@ PyMODINIT_FUNC PyInit_extension(void) {
737
if (PyType_Ready(&Metadata_Type)) {
738
return NULL;
739
}
740
+ Py_INCREF(&Metadata_Type);
741
PyModule_AddObject(m, "Metadata", (PyObject *)&Metadata_Type);
742
743
PyObject *error_mod = PyImport_ImportModule("maxminddb.errors");
0 commit comments