We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
agen.athrow(value)
1 parent 45de31d commit 1851443Copy full SHA for 1851443
Doc/reference/expressions.rst
@@ -735,7 +735,8 @@ which are used to control the execution of a generator function.
735
because there is no yield expression that could receive the value.
736
737
738
-.. coroutinemethod:: agen.athrow(type[, value[, traceback]])
+.. coroutinemethod:: agen.athrow(value)
739
+ agen.athrow(type[, value[, traceback]])
740
741
Returns an awaitable that raises an exception of type ``type`` at the point
742
where the asynchronous generator was paused, and returns the next value
0 commit comments