Skip to content

Commit 2a06726

Browse files
committed
Last nits to details.rst
1 parent 2a99dac commit 2a06726

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/data/messages/u/use-yield-from/details.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
requested generator. This enables the caller to directly communicate with the generator (e.g. using :code:`send()`).
33
This communication is not possible when manually yielding each element one by one in a loop.
44

5-
PEP 380 describes the possibility of adding optimizations specific to :code:`yield from`. It looks like said
6-
implementations have not been implemented as of the time of writing. Even without said optimizations, the following
7-
snippets shows that :code:`yield from` is marginally faster.
5+
PEP 380 describes the possibility of adding optimizations specific to :code:`yield from`. It looks like they
6+
have not been implemented as of the time of writing. Even without said optimizations, the following snippet shows
7+
that :code:`yield from` is marginally faster.
88

99
.. code-block:: sh
1010

0 commit comments

Comments
 (0)