8000
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 b2467f4 commit 76ad60fCopy full SHA for 76ad60f
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