Skip to content

Commit ac03ae1

Browse files
committed
docs(genobject): drop async_gen_unwrap_value() mention from comment
1 parent c8fb674 commit ac03ae1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎Objects/genobject.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1963,8 +1963,7 @@ PyAsyncGen_New(PyFrameObject *f, PyObject *name, PyObject *qualname)
19631963
return (PyObject*)ag;
19641964
}
19651965

1966-
// Like async_gen_unwrap_value(), but an async yield is reported as
1967-
// PYGEN_RETURN with the yielded value instead of raising StopIteration.
1966+
// Report an async yield as PYGEN_RETURN with the yielded value.
19681967
static PySendResult
19691968
async_gen_unwrap_send(PyAsyncGenObject *gen, PyObject *result,
19701969
PyObject **presult)

0 commit comments

Comments
 (0)