Searched refs:tp_repr (Results 1 – 9 of 9) sorted by relevance
13 reprfunc tp_repr; member
92 0, /*tp_repr*/1039 :c:member:`~PyTypeObject.tp_str` and :c:member:`~PyTypeObject.tp_repr` handlers. ::1041 reprfunc tp_repr;1045 The :c:member:`~PyTypeObject.tp_repr` handler should return a string object containing a1056 If no :c:member:`~PyTypeObject.tp_repr` handler is specified, the interpreter will supply a1060 …`~PyTypeObject.tp_str` handler is to :func:`str` what the :c:member:`~PyTypeObject.tp_repr` handler1063 to the :c:member:`~PyTypeObject.tp_repr` function, but the resulting string is intended for human1064 …:c:member:`~PyTypeObject.tp_str` is not specified, the :c:member:`~PyTypeObject.tp_repr` handler is
336 reprfunc tp_repr; member
376 else if (Py_TYPE(v)->tp_repr == NULL) in PyObject_Repr()381 res = (*Py_TYPE(v)->tp_repr)(v); in PyObject_Repr()
3079 f = Py_TYPE(self)->tp_repr; in object_str()3989 COPYSLOT(tp_repr);5983 TPSLOT("__repr__", tp_repr, slot_tp_repr, wrap_unaryfunc,
204 …instance's :c:member:`~PyTypeObject.tp_repr` or :c:member:`~PyTypeObject.tp_str` function is calle…207 … different output than :c:member:`~PyTypeObject.tp_repr` or :c:member:`~PyTypeObject.tp_str` would.216 should be printed the same was as :c:member:`~PyTypeObject.tp_repr` would format it. It should222 :c:member:`~PyTypeObject.tp_repr` and :c:member:`~PyTypeObject.tp_str` for printing.273 .. c:member:: reprfunc PyTypeObject.tp_repr
1593 baserepr = PyDict_Type.tp_repr((PyObject *)dd); in defdict_repr()
1987 return PyFloat_Type.tp_repr(obj); in encoder_encode_float()
10624 - Issue #1686386: Tuple's tp_repr did not take into account the