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.
1 parent 40d1d28 commit 542ca00Copy full SHA for 542ca00
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