Home
last modified time | relevance | path

Searched refs:tp_repr (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Doc/includes/
Dtypestruct.h13 reprfunc tp_repr; member
/external/python/cpython2/Doc/extending/
Dnewtypes.rst92 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 a
1056 If no :c:member:`~PyTypeObject.tp_repr` handler is specified, the interpreter will supply a
1060 …`~PyTypeObject.tp_str` handler is to :func:`str` what the :c:member:`~PyTypeObject.tp_repr` handler
1063 to the :c:member:`~PyTypeObject.tp_repr` function, but the resulting string is intended for human
1064 …:c:member:`~PyTypeObject.tp_str` is not specified, the :c:member:`~PyTypeObject.tp_repr` handler is
/external/python/cpython2/Include/
Dobject.h336 reprfunc tp_repr; member
/external/python/cpython2/Objects/
Dobject.c376 else if (Py_TYPE(v)->tp_repr == NULL) in PyObject_Repr()
381 res = (*Py_TYPE(v)->tp_repr)(v); in PyObject_Repr()
Dtypeobject.c3079 f = Py_TYPE(self)->tp_repr; in object_str()
3989 COPYSLOT(tp_repr);
5983 TPSLOT("__repr__", tp_repr, slot_tp_repr, wrap_unaryfunc,
/external/python/cpython2/Doc/c-api/
Dtypeobj.rst204 …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.c1593 baserepr = PyDict_Type.tp_repr((PyObject *)dd); in defdict_repr()
D_json.c1987 return PyFloat_Type.tp_repr(obj); in encoder_encode_float()
/external/python/cpython2/Misc/
DNEWS10624 - Issue #1686386: Tuple's tp_repr did not take into account the