Lines Matching defs:repr
309 "str() or repr() returned '%.100s'",
384 fprintf(stderr, "object repr : ");
430 " while getting the repr of an object")) {
517 PyObject *repr, *ascii, *res;
519 repr = PyObject_Repr(v);
520 if (repr == NULL)
523 if (PyUnicode_IS_ASCII(repr))
524 return repr;
526 /* repr is guaranteed to be a PyUnicode object by PyObject_Repr */
527 ascii = _PyUnicode_AsASCIIString(repr, "backslashreplace");
528 Py_DECREF(repr);
2146 /* These methods are used to control infinite recursion in repr, str, print,
2348 Do it before dumping repr(obj), since repr() is more likely