Searched refs:namestr (Results 1 – 5 of 5) sorted by relevance
33 static PyObject *docstr, *modstr, *namestr; in PyClass_New() local44 if (namestr == NULL) { in PyClass_New()45 namestr= PyString_InternFromString("__name__"); in PyClass_New()46 if (namestr == NULL) in PyClass_New()66 PyObject *modname = PyDict_GetItem(globals, namestr); in PyClass_New()
2215 static PyObject *namestr = NULL; in find_module() local2224 if (namestr == NULL) { in find_module()2225 namestr = PyString_InternFromString("__name__"); in find_module()2226 if (namestr == NULL) in find_module()2269 modname = PyDict_GetItem(globals, namestr); in find_module()
2316 static PyObject *namestr = NULL; in get_parent() local2325 if (namestr == NULL) { in get_parent()2326 namestr = PyString_InternFromString("__name__"); in get_parent()2327 if (namestr == NULL) in get_parent()2370 modname = PyDict_GetItem(globals, namestr); in get_parent()