Thanks to visit codestin.com Credit goes to github.com
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 8e855ca commit f5e53efCopy full SHA for f5e53ef
Modules/_xxsubinterpretersmodule.c
@@ -60,9 +60,8 @@ static PyObject *
60
get_module_from_owned_type(PyTypeObject *cls)
61
{
62
assert(cls != NULL);
63
- // XXX We can't use PyType_GetModule() until the module's types
64
- // are heap types.
65
return _get_current_module();
+ // XXX Use the more efficient API now that we use heap types:
66
//return PyType_GetModule(cls);
67
}
68
@@ -72,9 +71,8 @@ static PyObject *
72
71
get_module_from_type(PyTypeObject *cls)
73
74
75
- // XXX We can't use PyType_GetModuleByDef() until the module's types
76
77
78
//return PyType_GetModuleByDef(cls, &moduledef);
79
80
0 commit comments