/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 13 reprfunc tp_repr; member
|
/external/python/cpython3/Doc/includes/ |
D | typestruct.h | 14 reprfunc tp_repr; member
|
/external/python/cpython3/Objects/ |
D | typeslots.inc | 67 offsetof(PyHeapTypeObject, ht_type.tp_repr),
|
D | structseq.c | 406 type->tp_repr = (reprfunc)structseq_repr; in PyStructSequence_InitType2()
|
D | object.c | 521 if (Py_TYPE(v)->tp_repr == NULL) in PyObject_Repr() 536 res = (*v->ob_type->tp_repr)(v); in PyObject_Repr()
|
D | typeobject.c | 3828 f = Py_TYPE(self)->tp_repr; in object_str() 5155 COPYSLOT(tp_repr); in inherit_slots() 6938 TPSLOT("__repr__", tp_repr, slot_tp_repr, wrap_unaryfunc,
|
/external/python/cpython3/Python/ |
D | context.c | 1047 .tp_repr = (reprfunc)contextvar_tp_repr, 1181 .tp_repr = (reprfunc)token_tp_repr, 1232 .tp_repr = context_token_missing_tp_repr,
|
/external/python/cpython3/Doc/extending/ |
D | newtypes.rst | 151 reprfunc tp_repr; 154 The :c:member:`~PyTypeObject.tp_repr` handler should return a string object containing a 165 If no :c:member:`~PyTypeObject.tp_repr` handler is specified, the interpreter will supply a 169 …`~PyTypeObject.tp_str` handler is to :func:`str` what the :c:member:`~PyTypeObject.tp_repr` handler 172 to the :c:member:`~PyTypeObject.tp_repr` function, but the resulting string is intended for human 173 …:c:member:`~PyTypeObject.tp_str` is not specified, the :c:member:`~PyTypeObject.tp_repr` handler is
|
/external/python/cpython3/Include/cpython/ |
D | object.h | 190 reprfunc tp_repr; member
|
/external/python/cpython3/Doc/c-api/ |
D | exceptions.rst | 727 Properly implementing :c:member:`~PyTypeObject.tp_repr` for container types requires 729 :c:member:`~PyTypeObject.tp_repr` also needs to track objects to prevent cycles. The 735 Called at the beginning of the :c:member:`~PyTypeObject.tp_repr` implementation to 739 positive integer. In that case the :c:member:`~PyTypeObject.tp_repr` implementation 745 is reached. In that case the :c:member:`~PyTypeObject.tp_repr` implementation should 748 Otherwise, the function returns zero and the :c:member:`~PyTypeObject.tp_repr`
|
D | typeobj.rst | 62 …| :c:member:`~PyTypeObject.tp_repr` | :c:type:`reprfunc` | __repr__ … 798 .. c:member:: reprfunc PyTypeObject.tp_repr 807 PyObject *tp_repr(PyObject *self); 2394 See :c:member:`~PyTypeObject.tp_repr`. 2487 .tp_repr = (reprfunc)myobj_repr, 2503 (reprfunc)myobj_repr, /* tp_repr */ 2556 .tp_repr = (reprfunc)myobj_repr, 2577 .tp_repr = (reprfunc)myobj_repr,
|
/external/python/cpython3/Modules/ |
D | _json.c | 1431 return PyFloat_Type.tp_repr(obj); in encoder_encode_float() 1485 PyObject *encoded = PyLong_Type.tp_repr(obj); in encoder_listencode_obj() 1649 kstr = PyLong_Type.tp_repr(key); in encoder_listencode_dict()
|
D | _asynciomodule.c | 1434 .tp_repr = (reprfunc)FutureObj_repr, 2493 .tp_repr = (reprfunc)FutureObj_repr,
|
D | _collectionsmodule.c | 2096 baserepr = PyDict_Type.tp_repr((PyObject *)dd); in defdict_repr()
|
/external/python/cpython2/Doc/extending/ |
D | newtypes.rst | 91 0, /* tp_repr */ 1043 :c:member:`~PyTypeObject.tp_str` and :c:member:`~PyTypeObject.tp_repr` handlers. :: 1045 reprfunc tp_repr; 1049 The :c:member:`~PyTypeObject.tp_repr` handler should return a string object containing a 1060 If no :c:member:`~PyTypeObject.tp_repr` handler is specified, the interpreter will supply a 1064 …`~PyTypeObject.tp_str` handler is to :func:`str` what the :c:member:`~PyTypeObject.tp_repr` handler 1067 to the :c:member:`~PyTypeObject.tp_repr` function, but the resulting string is intended for human 1068 …:c:member:`~PyTypeObject.tp_str` is not specified, the :c:member:`~PyTypeObject.tp_repr` handler is
|
/external/python/cpython2/Include/ |
D | object.h | 336 reprfunc tp_repr; member
|
/external/python/cpython2/Objects/ |
D | object.c | 376 else if (Py_TYPE(v)->tp_repr == NULL) in PyObject_Repr() 385 res = (*Py_TYPE(v)->tp_repr)(v); in PyObject_Repr()
|
D | typeobject.c | 3119 f = Py_TYPE(self)->tp_repr; in object_str() 4052 COPYSLOT(tp_repr); 6046 TPSLOT("__repr__", tp_repr, slot_tp_repr, wrap_unaryfunc,
|
/external/python/cpython2/Doc/c-api/ |
D | typeobj.rst | 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 should 222 :c:member:`~PyTypeObject.tp_repr` and :c:member:`~PyTypeObject.tp_str` for printing. 273 .. c:member:: reprfunc PyTypeObject.tp_repr
|
/external/python/cpython2/Modules/ |
D | _collectionsmodule.c | 1607 baserepr = PyDict_Type.tp_repr((PyObject *)dd); in defdict_repr()
|
D | _json.c | 1942 return PyFloat_Type.tp_repr(obj); in encoder_encode_float()
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a1.rst | 565 Tuple's tp_repr did not take into account the possibility of having a
|