]> granicus.if.org Git - python/commitdiff
Markup fix; re-word a sentence
authorAndrew M. Kuchling <amk@amk.ca>
Mon, 10 May 2010 14:18:27 +0000 (14:18 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Mon, 10 May 2010 14:18:27 +0000 (14:18 +0000)
Doc/whatsnew/2.7.rst

index 3abbd697bc94b4571f1175d2a50dfa29e1e3d3e3..300ef908174f0d82ee985bd24162627788d764e2 100644 (file)
@@ -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