Searched refs:modstr (Results 1 – 3 of 3) sorted by relevance
685 char* modstr = PyString_AsString(moduleName); in PyErr_WriteUnraisable() local686 if (modstr && in PyErr_WriteUnraisable()687 strcmp(modstr, "exceptions") != 0) in PyErr_WriteUnraisable()689 PyFile_WriteString(modstr, f); in PyErr_WriteUnraisable()
1289 char* modstr = PyString_AsString(moduleName); in PyErr_Display() local1290 if (modstr && strcmp(modstr, "exceptions")) in PyErr_Display()1292 err = PyFile_WriteString(modstr, f); in PyErr_Display()
33 static PyObject *docstr, *modstr, *namestr; in PyClass_New() local39 if (modstr == NULL) { in PyClass_New()40 modstr= PyString_InternFromString("__module__"); in PyClass_New()41 if (modstr == NULL) in PyClass_New()63 if (PyDict_GetItem(dict, modstr) == NULL) { in PyClass_New()68 if (PyDict_SetItem(dict, modstr, modname) < 0) in PyClass_New()