There was an error while loading. Please reload this page.
1 parent ac03ae1 commit 1224561Copy full SHA for 1224561
1 file changed
Objects/genobject.c
@@ -2186,6 +2186,7 @@ static void
2186
async_gen_asend_finalize(PyObject *self)
2187
{
2188
PyAsyncGenASend *ags = _PyAsyncGenASend_CAST(self);
2189
+ // async_gen_asend_dealloc() calls this only in the INIT state.
2190
if (ags->ags_state == AWAITABLE_STATE_INIT) {
2191
_PyErr_WarnUnawaitedAgenMethod(ags->ags_gen, &_Py_ID(asend));
2192
}
0 commit comments