Home
last modified time | relevance | path

Searched refs:tp_as_async (Results 1 – 8 of 8) 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/Python/
Dceval.c1653 if (type->tp_as_async != NULL) { in _PyEval_EvalFrameDefault()
1654 getter = type->tp_as_async->am_aiter; in _PyEval_EvalFrameDefault()
1676 if (Py_TYPE(iter)->tp_as_async == NULL || in _PyEval_EvalFrameDefault()
1677 Py_TYPE(iter)->tp_as_async->am_anext == NULL) { in _PyEval_EvalFrameDefault()
1701 awaitable = type->tp_as_async->am_anext(aiter); in _PyEval_EvalFrameDefault()
1706 if (type->tp_as_async != NULL){ in _PyEval_EvalFrameDefault()
1707 getter = type->tp_as_async->am_anext; in _PyEval_EvalFrameDefault()
4990 if (type->tp_as_async == NULL || type->tp_as_async->am_await == NULL) { in format_awaitable_error()
/external/python/cpython3/Objects/
Dtypeobject.c2603 type->tp_as_async = &et->as_async; in type_new()
2909 type->tp_as_async = &res->as_async; in PyType_FromSpecWithBases()
4957 #define COPYASYNC(SLOT) COPYSLOT(tp_as_async->SLOT) in inherit_slots()
5007 if (type->tp_as_async != NULL && base->tp_as_async != NULL) { in inherit_slots()
5009 if (basebase->tp_as_async == NULL) in inherit_slots()
5291 if (type->tp_as_async == NULL) in PyType_Ready()
5292 type->tp_as_async = base->tp_as_async; in PyType_Ready()
7005 ptr = (char *)type->tp_as_async; in slotptr()
Dgenobject.c880 if (ot->tp_as_async != NULL) { in _PyCoro_GetAwaitableIter()
881 getter = ot->tp_as_async->am_await; in _PyCoro_GetAwaitableIter()
/external/python/cpython3/Include/
Dobject.h357 PyAsyncMethods *tp_as_async; /* formerly known as tp_compare (Python 2) member
/external/python/cpython3/Modules/
D_asynciomodule.c1441 .tp_as_async = &FutureType_as_async,
2415 .tp_as_async = &FutureType_as_async,
/external/python/cpython3/Doc/c-api/
Dtypeobj.rst227 .. c:member:: PyAsyncMethods* tp_as_async
/external/python/cpython3/Doc/whatsnew/
D3.5.rst2536 :c:member:`tp_as_async` slot. Refer to :ref:`coro-objects` for