/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 25 reprfunc tp_str; member
|
/external/python/cpython3/Doc/includes/ |
D | typestruct.h | 26 reprfunc tp_str; member
|
/external/python/cpython3/Objects/ |
D | typeslots.inc | 71 {-1, offsetof(PyTypeObject, tp_str)},
|
D | object.c | 483 if (Py_TYPE(v)->tp_str == NULL) in PyObject_Str() 499 res = (*Py_TYPE(v)->tp_str)(v); in PyObject_Str()
|
D | typeobject.c | 5889 COPYSLOT(tp_str); in inherit_slots() 7921 TPSLOT("__str__", tp_str, slot_tp_str, wrap_unaryfunc,
|
/external/python/cpython2/Objects/ |
D | object.c | 428 if (Py_TYPE(v)->tp_str == NULL) in _PyObject_Str() 435 res = (*Py_TYPE(v)->tp_str)(v); in _PyObject_Str() 539 if (Py_TYPE(v)->tp_str != NULL) in PyObject_Unicode() 540 res = (*Py_TYPE(v)->tp_str)(v); in PyObject_Unicode()
|
D | exceptions.c | 126 if (Py_TYPE(self)->tp_str != (reprfunc)BaseException_str) { in BaseException_unicode() 130 str = Py_TYPE(self)->tp_str((PyObject*)self); in BaseException_unicode()
|
D | typeobject.c | 4055 COPYSLOT(tp_str); 6052 TPSLOT("__str__", tp_str, slot_tp_str, wrap_unaryfunc,
|
D | stringobject.c | 4021 result = Py_TYPE(val)->tp_str(val); in _PyString_FormatLong()
|
/external/python/cpython3/Include/cpython/ |
D | object.h | 216 reprfunc tp_str; member
|
/external/python/cpython2/Modules/ |
D | _ssl.c | 4199 ((PyTypeObject *)PySSLErrorObject)->tp_str = (reprfunc)SSLError_str; in init_ssl() 4223 ((PyTypeObject *)PySSLZeroReturnErrorObject)->tp_str = (reprfunc)SSLError_str; in init_ssl() 4224 ((PyTypeObject *)PySSLWantReadErrorObject)->tp_str = (reprfunc)SSLError_str; in init_ssl() 4225 ((PyTypeObject *)PySSLWantWriteErrorObject)->tp_str = (reprfunc)SSLError_str; in init_ssl() 4226 ((PyTypeObject *)PySSLSyscallErrorObject)->tp_str = (reprfunc)SSLError_str; in init_ssl() 4227 ((PyTypeObject *)PySSLEOFErrorObject)->tp_str = (reprfunc)SSLError_str; in init_ssl()
|
/external/python/cpython3/Doc/extending/ |
D | newtypes.rst | 164 reprfunc tp_str; 181 The :c:member:`~PyTypeObject.tp_str` handler is to :func:`str` what the :c:member:`~PyTypeObject.tp… 185 consumption. If :c:member:`~PyTypeObject.tp_str` is not specified, the :c:member:`~PyTypeObject.tp…
|
/external/python/cpython2/Include/ |
D | object.h | 348 reprfunc tp_str; member
|
/external/python/cpython2/Doc/extending/ |
D | newtypes.rst | 97 0, /* tp_str */ 1043 :c:member:`~PyTypeObject.tp_str` and :c:member:`~PyTypeObject.tp_repr` handlers. :: 1046 reprfunc tp_str; 1064 The :c:member:`~PyTypeObject.tp_str` handler is to :func:`str` what the :c:member:`~PyTypeObject.tp… 1068 consumption. If :c:member:`~PyTypeObject.tp_str` is not specified, the :c:member:`~PyTypeObject.tp…
|
/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. 214 flag bit is set, the instance should be printed the same way as :c:member:`~PyTypeObject.tp_str` 222 :c:member:`~PyTypeObject.tp_repr` and :c:member:`~PyTypeObject.tp_str` for printing. 362 .. c:member:: reprfunc PyTypeObject.tp_str
|
/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 74 …| :c:member:`~PyTypeObject.tp_str` | :c:type:`reprfunc` | __str__ … 917 .. c:member:: reprfunc PyTypeObject.tp_str 926 PyObject *tp_str(PyObject *self); 2624 0, /* tp_str */
|
/external/python/cpython3/Modules/ |
D | _zoneinfo.c | 2597 .tp_str = (reprfunc)zoneinfo_str,
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a1.rst | 566 self-referential tuple, which is possible from C code. Nor did object's tp_str 567 consider that a type's tp_str could do something that could lead to an
|
/external/python/cpython2/Misc/ |
D | HISTORY | 6740 PyObject_Str(obj) in that it tries to use __str__/tp_str 15228 is called, and tp_str defines how an object's str() is computed.
|
/external/python/cpython3/Misc/ |
D | HISTORY | 24119 PyObject_Str(obj) in that it tries to use __str__/tp_str 32607 is called, and tp_str defines how an object's str() is computed.
|
/external/python/cpython3/Doc/data/ |
D | python3.10.abi | 2559 …<var-decl name='tp_str' type-id='type-id-42' visibility='default' filepath='./Include/cpython/obje…
|