[Python-checkins] r81039 - python/trunk/Doc/whatsnew/2.7.rst
andrew.kuchling
python-checkins at python.org
Mon May 10 16:18:27 CEST 2010
Author: andrew.kuchling
Date: Mon May 10 16:18:27 2010
New Revision: 81039
Log:
Markup fix; re-word a sentence
Modified:
python/trunk/Doc/whatsnew/2.7.rst
Modified: python/trunk/Doc/whatsnew/2.7.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.7.rst (original)
+++ python/trunk/Doc/whatsnew/2.7.rst Mon May 10 16:18:27 2010
@@ -136,7 +136,7 @@
* The syntax for set literals (``{1,2,3}`` is a mutable set).
* Dictionary and set comprehensions (``{ i: i*2 for i in range(3)}``).
-* Multiple context managers in a single :stmt:`with` statement.
+* Multiple context managers in a single :keyword:`with` statement.
* A new version of the :mod:`io` library, rewritten in C for performance.
* The ordered-dictionary type described in :ref:`pep-0372`.
* The new format specifier described in :ref:`pep-0378`.
@@ -146,7 +146,7 @@
results more correctly. And :func:`repr` of a floating-point
number *x* returns a result that's guaranteed to round back to the
same number when converted back to a string.
-* The :ctype:`PyCapsule` type, used to provide a C API for an extension module.
+* The :ctype:`PyCapsule` type, used to provide a C API for extension modules.
* The :cfunc:`PyLong_AsLongAndOverflow` C API function.
One porting change: the :option:`-3` switch now automatically
More information about the Python-checkins
mailing list