File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -60,9 +60,8 @@ static PyObject *
6060get_module_from_owned_type (PyTypeObject * cls )
6161{
6262 assert (cls != NULL );
63- // XXX We can't use PyType_GetModule() until the module's types
64- // are heap types.
6563 return _get_current_module ();
64+ // XXX Use the more efficient API now that we use heap types:
6665 //return PyType_GetModule(cls);
6766}
6867
@@ -72,9 +71,8 @@ static PyObject *
7271get_module_from_type (PyTypeObject * cls )
7372{
7473 assert (cls != NULL );
75- // XXX We can't use PyType_GetModuleByDef() until the module's types
76- // are heap types.
7774 return _get_current_module ();
75+ // XXX Use the more efficient API now that we use heap types:
7876 //return PyType_GetModuleByDef(cls, &moduledef);
7977}
8078
You can’t perform that action at this time.
0 commit comments