summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2010-05-10 14:18:27 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2010-05-10 14:18:27 (GMT)
commit93c40d49f5d86bb8191bf38b6b35d44815718b60 (patch)
tree3eb7314f09a7e27e71eaeab8adf12ba1971dd1ed /Doc/whatsnew
parent814a66f2d3b0fc6a981893d446f2fc3ec9df7746 (diff)
downloadcpython-93c40d49f5d86bb8191bf38b6b35d44815718b60.zip
cpython-93c40d49f5d86bb8191bf38b6b35d44815718b60.tar.gz
cpython-93c40d49f5d86bb8191bf38b6b35d44815718b60.tar.bz2
Markup fix; re-word a sentence
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/2.7.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst
index 3abbd69..300ef90 100644
--- a/Doc/whatsnew/2.7.rst
+++ b/Doc/whatsnew/2.7.rst
@@ -136,7 +136,7 @@ A partial list of 3.1 features that were backported to 2.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 @@ A partial list of 3.1 features that were backported to 2.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