PEP 479: Resolve dangling hyphens (#3355)
This commit is contained in:
parent
471d9096c6
commit
1e6221e7fe
|
@ -57,9 +57,9 @@ problem.)
|
||||||
This is particularly pernicious in combination with the ``yield from``
|
This is particularly pernicious in combination with the ``yield from``
|
||||||
construct of :pep:`380`, as it breaks the abstraction that a
|
construct of :pep:`380`, as it breaks the abstraction that a
|
||||||
subgenerator may be factored out of a generator. That PEP notes this
|
subgenerator may be factored out of a generator. That PEP notes this
|
||||||
limitation, but notes that "use cases for these [are] rare to non-
|
limitation, but notes that "use cases for these [are] rare to
|
||||||
existent". Unfortunately while intentional use is rare, it is easy to
|
non-existent". Unfortunately while intentional use is rare, it is
|
||||||
stumble on these cases by accident::
|
easy to stumble on these cases by accident::
|
||||||
|
|
||||||
import contextlib
|
import contextlib
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue