Lines Matching defs:obj
309 anextawaitable_dealloc(anextawaitableobject *obj)
311 _PyObject_GC_UNTRACK(obj);
312 Py_XDECREF(obj->wrapped);
313 Py_XDECREF(obj->default_value);
314 PyObject_GC_Del(obj);
318 anextawaitable_traverse(anextawaitableobject *obj, visitproc visit, void *arg)
320 Py_VISIT(obj->wrapped);
321 Py_VISIT(obj->default_value);
326 anextawaitable_getiter(anextawaitableobject *obj)
328 assert(obj->wrapped != NULL);
329 PyObject *awaitable = _PyCoro_GetAwaitableIter(obj->wrapped);
356 anextawaitable_iternext(anextawaitableobject *obj)
378 PyObject *awaitable = anextawaitable_getiter(obj);
388 _PyGen_SetStopIterationValue(obj->default_value);
395 anextawaitable_proxy(anextawaitableobject *obj, char *meth, PyObject *arg) {
396 PyObject *awaitable = anextawaitable_getiter(obj);
411 _PyGen_SetStopIterationValue(obj->default_value);
418 anextawaitable_send(anextawaitableobject *obj, PyObject *arg) {
419 return anextawaitable_proxy(obj, "send", arg);
424 anextawaitable_throw(anextawaitableobject *obj, PyObject *arg) {
425 return anextawaitable_proxy(obj, "throw", arg);
430 anextawaitable_close(anextawaitableobject *obj, PyObject *arg) {
431 return anextawaitable_proxy(obj, "close", arg);