Searched refs:tp_repr (Results 1 - 16 of 16) sorted by relevance
/third_party/python/Doc/includes/ |
H A D | typestruct.h | 14 reprfunc tp_repr; member
|
/third_party/python/Objects/ |
H A D | classobject.c | 330 .tp_repr = (reprfunc)method_repr, 533 .tp_repr = (reprfunc)instancemethod_repr,
|
H A D | unionobject.c | 389 .tp_repr = union_repr,
|
H A D | structseq.c | 484 type->tp_repr = (reprfunc)structseq_repr; in _PyStructSequence_InitType()
|
H A D | genericaliasobject.c | 941 .tp_repr = ga_repr,
|
H A D | weakrefobject.c | 376 .tp_repr = (reprfunc)weakref_repr, 729 (reprfunc)proxy_repr, /* tp_repr */ 764 (unaryfunc)proxy_repr, /* tp_repr */
|
H A D | object.c | 415 if (Py_TYPE(v)->tp_repr == NULL) in PyObject_Repr() 427 /* It is possible for a type to have a tp_repr representation that loops in PyObject_Repr() 433 res = (*Py_TYPE(v)->tp_repr)(v); in PyObject_Repr() 1696 none_repr, /*tp_repr*/ 1797 NotImplemented_repr, /*tp_repr*/
|
H A D | typeobject.c | 4405 (reprfunc)type_repr, /* tp_repr */ 4619 f = Py_TYPE(self)->tp_repr; in object_str() 5619 object_repr, /* tp_repr */ 5969 COPYSLOT(tp_repr); in inherit_slots() 7984 (e.g. __str__ affects tp_str as well as tp_repr). The table is terminated with 8044 TPSLOT("__repr__", tp_repr, slot_tp_repr, wrap_unaryfunc, 8312 * This is meant to set a "slot" like type->tp_repr or 8339 * the tp_repr for the 'str' class) with the correct name ("__repr__" for 8340 * tp_repr), for the right class, calling the right wrapper C function (like 8341 * wrap_unaryfunc for tp_repr), the [all...] |
/third_party/python/Python/ |
H A D | context.c | 1079 .tp_repr = (reprfunc)contextvar_tp_repr, 1220 .tp_repr = (reprfunc)token_tp_repr, 1271 .tp_repr = context_token_missing_tp_repr,
|
/third_party/python/Include/cpython/ |
H A D | object.h | 161 reprfunc tp_repr; member
|
/third_party/python/Modules/ |
H A D | _json.c | 1368 return PyFloat_Type.tp_repr(obj); in encoder_encode_float() 1422 PyObject *encoded = PyLong_Type.tp_repr(obj); in encoder_listencode_obj() 1585 kstr = PyLong_Type.tp_repr(key); in encoder_listencode_dict()
|
H A D | _asynciomodule.c | 1516 .tp_repr = (reprfunc)FutureObj_repr, 2530 .tp_repr = (reprfunc)TaskObj_repr,
|
H A D | _zoneinfo.c | 2600 .tp_repr = (reprfunc)zoneinfo_repr,
|
H A D | _collectionsmodule.c | 1632 deque_repr, /* tp_repr */ 1801 0, /* tp_repr */ 1923 0, /* tp_repr */ 2105 baserepr = PyDict_Type.tp_repr((PyObject *)dd); in defdict_repr() 2238 (reprfunc)defdict_repr, /* tp_repr */ 2526 (reprfunc)tuplegetter_repr, /* tp_repr */
|
H A D | _testcapimodule.c | 359 0, /* tp_repr */ 1100 reprfunc tp_repr = PyType_GetSlot(&PyLong_Type, Py_tp_repr); in test_get_statictype_slots() local 1101 if (PyLong_Type.tp_repr != tp_repr) { in test_get_statictype_slots() 1102 PyErr_SetString(PyExc_AssertionError, "mismatch: tp_repr of long"); in test_get_statictype_slots() 6842 0, /* tp_repr */ 6945 0, /* tp_repr */ 7059 0, /* tp_repr */ 7104 0, /* tp_repr */ 7185 0, /* tp_repr */ [all...] |
H A D | _datetimemodule.c | 2818 (reprfunc)delta_repr, /* tp_repr */ 3395 .tp_repr = (reprfunc) iso_calendar_date_repr, 3648 (reprfunc)date_repr, /* tp_repr */ 3875 0, /* tp_repr */ 4111 (reprfunc)timezone_repr, /* tp_repr */ 4785 (reprfunc)time_repr, /* tp_repr */ 6639 (reprfunc)datetime_repr, /* tp_repr */
|
Completed in 53 milliseconds