Searched refs:tp_as_async (Results 1 – 9 of 9) sorted by relevance
12 PyAsyncMethods *tp_as_async; /* formerly known as tp_compare (Python 2) member
204 PyAsyncMethods *tp_as_async; /* formerly known as tp_compare (Python 2) member
2065 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()
2614 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()
865 if (ot->tp_as_async != NULL) { in _PyCoro_GetAwaitableIter()866 getter = ot->tp_as_async->am_await; in _PyCoro_GetAwaitableIter()
670 type->tp_as_async = &heap_type->as_async; in make_new_python_type()
1534 .tp_as_async = &FutureType_as_async,2536 .tp_as_async = &FutureType_as_async,
60 …| :c:member:`~PyTypeObject.tp_as_async` | :c:type:`PyAsyncMethods` * | :ref:`sub-s…764 .. c:member:: PyAsyncMethods* PyTypeObject.tp_as_async775 The :c:member:`~PyTypeObject.tp_as_async` field is not inherited,2484 0, /* tp_as_async */
2536 :c:member:`tp_as_async` slot. Refer to :ref:`coro-objects` for