We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
agen.athrow(value)
1 parent 1528b42 commit ce93371Copy full SHA for ce93371
Doc/reference/expressions.rst
@@ -725,7 +725,8 @@ which are used to control the execution of a generator function.
725
because there is no yield expression that could receive the value.
726
727
728
-.. coroutinemethod:: agen.athrow(type[, value[, traceback]])
+.. coroutinemethod:: agen.athrow(value)
729
+ agen.athrow(type[, value[, traceback]])
730
731
Returns an awaitable that raises an exception of type ``type`` at the point
732
where the asynchronous generator was paused, and returns the next value
0 commit comments