diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-10-31 00:26:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 00:26:06 (GMT) |
commit | 3f819ca138db6945ee4271bf13e42db9f9b3b1e4 (patch) | |
tree | 7eab13b4f9da0c8936d423cd633594cf83ba870f /Doc/whatsnew/2.2.rst | |
parent | 68f323715e6627c550d1e8ffed7e36f1bb4aa42b (diff) | |
download | cpython-3f819ca138db6945ee4271bf13e42db9f9b3b1e4.zip cpython-3f819ca138db6945ee4271bf13e42db9f9b3b1e4.tar.gz cpython-3f819ca138db6945ee4271bf13e42db9f9b3b1e4.tar.bz2 |
bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)
Diffstat (limited to 'Doc/whatsnew/2.2.rst')
-rw-r--r-- | Doc/whatsnew/2.2.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/whatsnew/2.2.rst b/Doc/whatsnew/2.2.rst index 0aa6003..c2ae866 100644 --- a/Doc/whatsnew/2.2.rst +++ b/Doc/whatsnew/2.2.rst @@ -576,9 +576,9 @@ similar to a :keyword:`return` statement. The big difference between variables are preserved. On the next call to the generator's ``next()`` method, the function will resume executing immediately after the :keyword:`yield` statement. (For complicated reasons, the :keyword:`yield` statement isn't -allowed inside the :keyword:`try` block of a :keyword:`try`...\ -:keyword:`finally` statement; read :pep:`255` for a full explanation of the -interaction between :keyword:`yield` and exceptions.) +allowed inside the :keyword:`try` block of a +:keyword:`try`...\ :keyword:`finally` statement; read :pep:`255` for a full +explanation of the interaction between :keyword:`yield` and exceptions.) Here's a sample usage of the :func:`generate_ints` generator:: |