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 d11bfb2 commit 7898e78Copy full SHA for 7898e78
Modules/_typingmodule.c
@@ -59,7 +59,7 @@ _typing_exec(PyObject *m)
59
EXPORT_TYPE("ParamSpecKwargs", paramspeckwargs_type);
60
EXPORT_TYPE("Generic", generic_type);
61
#undef EXPORT_TYPE
62
- if (PyModule_AddObjectRef(m, "TypeAliasType", &_PyTypeAlias_Type) < 0) {
+ if (PyModule_AddObjectRef(m, "TypeAliasType", (PyObject *)&_PyTypeAlias_Type) < 0) {
63
return -1;
64
}
65
return 0;
0 commit comments