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 3a195f3 commit acf3916Copy full SHA for acf3916
Doc/reference/expressions.rst
@@ -740,7 +740,8 @@ which are used to control the execution of a generator function.
740
because there is no yield expression that could receive the value.
741
742
743
-.. coroutinemethod:: agen.athrow(type[, value[, traceback]])
+.. coroutinemethod:: agen.athrow(value)
744
+ agen.athrow(type[, value[, traceback]])
745
746
Returns an awaitable that raises an exception of type ``type`` at the point
747
where the asynchronous generator was paused, and returns the next value
0 commit comments