pep-0492: More edits re PEP 3152.
This commit is contained in:
parent
61a8636d0d
commit
14655ce8f5
|
@ -706,7 +706,8 @@ Differences from this proposal:
|
||||||
|
|
||||||
4. Since it is impossible to call a *cofunction* without a ``cocall`` keyword,
|
4. Since it is impossible to call a *cofunction* without a ``cocall`` keyword,
|
||||||
it automatically prevents the common mistake of forgetting to use
|
it automatically prevents the common mistake of forgetting to use
|
||||||
``yield from`` on generator-based coroutines.
|
``yield from`` on generator-based coroutines. This proposal addresses
|
||||||
|
this problem with a different approach, see `Debugging Features`_.
|
||||||
|
|
||||||
5. There are no equivalents of ``async for`` and ``async with`` in PEP 3152.
|
5. There are no equivalents of ``async for`` and ``async with`` in PEP 3152.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue