Home
last modified time | relevance | path

Searched refs:tp_str (Results 1 – 11 of 11) sorted by relevance

/third_party/boost/libs/python/src/object/
Denum.cpp80 return PyLong_Type.tp_str(self_); in enum_str()
82 return PyInt_Type.tp_str(self_); in enum_str()
/third_party/python/Doc/includes/
Dtypestruct.h26 reprfunc tp_str; member
/third_party/python/Objects/
Dtypeslots.inc71 {-1, offsetof(PyTypeObject, tp_str)},
Dobject.c483 if (Py_TYPE(v)->tp_str == NULL) in PyObject_Str()
499 res = (*Py_TYPE(v)->tp_str)(v); in PyObject_Str()
Dtypeobject.c5891 COPYSLOT(tp_str); in inherit_slots()
7918 TPSLOT("__str__", tp_str, slot_tp_str, wrap_unaryfunc,
/third_party/python/Include/cpython/
Dobject.h216 reprfunc tp_str; member
/third_party/boost/libs/python/src/converter/
Dbuiltin_converters.cpp388 return (PyString_Check(obj)) ? &obj->ob_type->tp_str : 0; in get_slot()
/third_party/python/Doc/extending/
Dnewtypes.rst164 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/
Dtypeobj.rst74 …| :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.c2597 .tp_str = (reprfunc)zoneinfo_str,
/third_party/python/Misc/
DHISTORY24119 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.