Lines Matching refs:PyString_Check
49 if (name == NULL || !PyString_Check(name)) { in PyClass_New()
232 if (!PyString_Check(name)) { in class_getattr()
328 if (v == NULL || !PyString_Check(v)) in set_name()
345 if (!PyString_Check(name)) { in class_setattr()
393 if (op->cl_name == NULL || !PyString_Check(op->cl_name)) in class_repr()
397 if (mod == NULL || !PyString_Check(mod)) in class_repr()
413 if (name == NULL || !PyString_Check(name)) in class_str()
415 if (mod == NULL || !PyString_Check(mod)) { in class_str()
713 if (!PyString_Check(name)) { in instance_getattr1()
801 assert(PyString_Check(name)); in _PyInstance_Lookup()
831 if (!PyString_Check(name)) { in instance_setattr()
918 if (classname != NULL && PyString_Check(classname)) in instance_repr()
922 if (mod == NULL || !PyString_Check(mod)) in instance_repr()
2429 else if (!PyString_Check(funcname)) { in instancemethod_repr()
2444 else if (!PyString_Check(klassname)) { in instancemethod_repr()
2459 if (!PyString_Check(selfrepr)) { in instancemethod_repr()
2517 if (PyString_Check(name)) { in getclassname()