Searched refs:tp_str (Results 1 – 11 of 11) sorted by relevance
/third_party/boost/libs/python/src/object/ |
D | enum.cpp | 80 return PyLong_Type.tp_str(self_); in enum_str() 82 return PyInt_Type.tp_str(self_); in enum_str()
|
/third_party/python/Doc/includes/ |
D | typestruct.h | 26 reprfunc tp_str; member
|
/third_party/python/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 | 5891 COPYSLOT(tp_str); in inherit_slots() 7918 TPSLOT("__str__", tp_str, slot_tp_str, wrap_unaryfunc,
|
/third_party/python/Include/cpython/ |
D | object.h | 216 reprfunc tp_str; member
|
/third_party/boost/libs/python/src/converter/ |
D | builtin_converters.cpp | 388 return (PyString_Check(obj)) ? &obj->ob_type->tp_str : 0; in get_slot()
|
/third_party/python/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…
|
/third_party/python/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); 2623 0, /* tp_str */
|
/third_party/python/Modules/ |
D | _zoneinfo.c | 2597 .tp_str = (reprfunc)zoneinfo_str,
|
/third_party/python/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.
|