Skip to content

Commit 55a268c

Browse files
committed
link to yield from.
1 parent 9e5aaf6 commit 55a268c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/howto/a-conceptual-overview-of-asyncio.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ That might sound odd to you. You might be thinking:
378378
:ref:`async generator function <asynchronous-generator-functions>`, a
379379
different beast entirely.
380380

381-
2. What about a ``yield from`` within the coroutine function to a (plain)
381+
2. What about a :ref:`yield from <yieldexpr>` within the coroutine function to a (plain)
382382
generator?
383383
It causes the following error: ``SyntaxError: yield from not allowed in a coroutine.``
384384
This was intentionally designed for the sake of simplicity -- mandating only

0 commit comments

Comments
 (0)