diff options
Diffstat (limited to 'Doc/whatsnew/2.3.rst')
-rw-r--r-- | Doc/whatsnew/2.3.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/whatsnew/2.3.rst b/Doc/whatsnew/2.3.rst index 590015a..37ba7c0 100644 --- a/Doc/whatsnew/2.3.rst +++ b/Doc/whatsnew/2.3.rst @@ -162,9 +162,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.) +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.) Here's a sample usage of the :func:`generate_ints` generator:: @@ -1247,8 +1247,8 @@ complete list of changes, or look through the CVS logs for all the details. will have to change your ``import`` statements to import it as :mod:`bsddb`. * The new :mod:`bz2` module is an interface to the bz2 data compression library. - bz2-compressed data is usually smaller than corresponding :mod:`zlib`\ - -compressed data. (Contributed by Gustavo Niemeyer.) + bz2-compressed data is usually smaller than corresponding + :mod:`zlib`\ -compressed data. (Contributed by Gustavo Niemeyer.) * A set of standard date/time types has been added in the new :mod:`datetime` module. See the following section for more details. |