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 6ea3f8c commit adc2bd0Copy full SHA for adc2bd0
1 file changed
Python/sysmodule.c
@@ -2899,6 +2899,14 @@ list_stdlib_module_names(void)
2899
Py_DECREF(names);
2900
return NULL;
2901
}
2902
+ if (PyUnicode_EqualToUTF8(name, "_math_integer")) {
2903
+ Py_DECREF(name);
2904
+ name = PyUnicode_FromString("math.integer");
2905
+ if (name == NULL) {
2906
+ Py_DECREF(names);
2907
+ return NULL;
2908
+ }
2909
2910
PyTuple_SET_ITEM(names, i, name);
2911
2912
0 commit comments