Searched refs:submod (Results 1 – 2 of 2) sorted by relevance
1252 PyObject * submod = PyDict_GetItemString(d, short_name.c_str()); in init_submodule() local1253 if (submod == NULL) in init_submodule()1255 submod = PyImport_AddModule(full_name.c_str()); in init_submodule()1256 PyDict_SetItemString(d, short_name.c_str(), submod); in init_submodule()1260 root = submod; in init_submodule()
1069 submod = m.get(sub)1070 if submod is None:1078 submod = self._import_module(sub, fullname, m)1079 if submod is None:1081 yield submod