Searched refs:reprstr (Results 1 – 2 of 2) sorted by relevance
878 static PyObject *reprstr; in instance_repr() local880 if (reprstr == NULL) { in instance_repr()881 reprstr = PyString_InternFromString("__repr__"); in instance_repr()882 if (reprstr == NULL) in instance_repr()885 func = instance_getattr(inst, reprstr); in instance_repr()
902 static PyObject *reprstr; in instance_repr() local904 if (reprstr == NULL) { in instance_repr()905 reprstr = PyString_InternFromString("__repr__"); in instance_repr()906 if (reprstr == NULL) in instance_repr()909 func = instance_getattr(inst, reprstr); in instance_repr()