diff options
Diffstat (limited to 'Modules/_typingmodule.c')
-rw-r--r-- | Modules/_typingmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_typingmodule.c b/Modules/_typingmodule.c index 9ea72bf..180f3d7 100644 --- a/Modules/_typingmodule.c +++ b/Modules/_typingmodule.c @@ -63,6 +63,9 @@ _typing_exec(PyObject *m) if (PyModule_AddObjectRef(m, "TypeAliasType", (PyObject *)&_PyTypeAlias_Type) < 0) { return -1; } + if (PyModule_AddObjectRef(m, "NoDefault", (PyObject *)&_Py_NoDefaultStruct) < 0) { + return -1; + } return 0; } |