Home
last modified time | relevance | path

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

/external/python/cpython3/Doc/includes/
Dtypestruct.h12 PyAsyncMethods *tp_as_async; /* formerly known as tp_compare (Python 2) member
/external/python/cpython3/Include/cpython/
Dobject.h204 PyAsyncMethods *tp_as_async; /* formerly known as tp_compare (Python 2) member
/external/python/cpython3/Python/
Dceval.c2065 if (type->tp_as_async != NULL) { in _PyEval_EvalFrameDefault()
2066 getter = type->tp_as_async->am_aiter; in _PyEval_EvalFrameDefault()
2087 if (Py_TYPE(iter)->tp_as_async == NULL || in _PyEval_EvalFrameDefault()
2088 Py_TYPE(iter)->tp_as_async->am_anext == NULL) { in _PyEval_EvalFrameDefault()
2111 awaitable = type->tp_as_async->am_anext(aiter); in _PyEval_EvalFrameDefault()
2116 if (type->tp_as_async != NULL){ in _PyEval_EvalFrameDefault()
2117 getter = type->tp_as_async->am_anext; in _PyEval_EvalFrameDefault()
5484 if (type->tp_as_async == NULL || type->tp_as_async->am_await == NULL) { in format_awaitable_error()
/external/python/cpython3/Objects/
Dtypeobject.c2614 type->tp_as_async = &et->as_async; in type_new()
2992 type->tp_as_async = &res->as_async; in PyType_FromModuleAndSpec()
5192 #define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT) in inherit_slots()
5242 if (type->tp_as_async != NULL && base->tp_as_async != NULL) { in inherit_slots()
5244 if (basebase->tp_as_async == NULL) in inherit_slots()
5568 if (type->tp_as_async == NULL) in PyType_Ready()
5569 type->tp_as_async = base->tp_as_async; in PyType_Ready()
7337 ptr = (char *)type->tp_as_async; in slotptr()
Dgenobject.c865 if (ot->tp_as_async != NULL) { in _PyCoro_GetAwaitableIter()
866 getter = ot->tp_as_async->am_await; in _PyCoro_GetAwaitableIter()
/external/python/pybind11/include/pybind11/detail/
Dclass.h670 type->tp_as_async = &heap_type->as_async; in make_new_python_type()
/external/python/cpython3/Modules/
D_asynciomodule.c1534 .tp_as_async = &FutureType_as_async,
2536 .tp_as_async = &FutureType_as_async,
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst60 …| :c:member:`~PyTypeObject.tp_as_async` | :c:type:`PyAsyncMethods` * | :ref:`sub-s…
764 .. c:member:: PyAsyncMethods* PyTypeObject.tp_as_async
775 The :c:member:`~PyTypeObject.tp_as_async` field is not inherited,
2484 0, /* tp_as_async */
/external/python/cpython3/Doc/whatsnew/
D3.5.rst2536 :c:member:`tp_as_async` slot. Refer to :ref:`coro-objects` for