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 40ea37d commit db42de4Copy full SHA for db42de4
Doc/reference/expressions.rst
@@ -710,7 +710,8 @@ which are used to control the execution of a generator function.
710
because there is no yield expression that could receive the value.
711
712
713
-.. coroutinemethod:: agen.athrow(type[, value[, traceback]])
+.. coroutinemethod:: agen.athrow(value)
714
+ agen.athrow(type[, value[, traceback]])
715
716
Returns an awaitable that raises an exception of type ``type`` at the point
717
where the asynchronous generator was paused, and returns the next value
0 commit comments