Searched refs:tp_as_async (Results 1 – 8 of 8) sorted by relevance
12 PyAsyncMethods *tp_as_async; /* formerly known as tp_compare (Python 2) member
1653 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()
2603 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()
880 if (ot->tp_as_async != NULL) { in _PyCoro_GetAwaitableIter()881 getter = ot->tp_as_async->am_await; in _PyCoro_GetAwaitableIter()
357 PyAsyncMethods *tp_as_async; /* formerly known as tp_compare (Python 2) member
1441 .tp_as_async = &FutureType_as_async,2415 .tp_as_async = &FutureType_as_async,
227 .. c:member:: PyAsyncMethods* tp_as_async
2536 :c:member:`tp_as_async` slot. Refer to :ref:`coro-objects` for