]> granicus.if.org Git - python/commitdiff
Merged revisions 63397,63673 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Mon, 26 May 2008 12:52:02 +0000 (12:52 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 26 May 2008 12:52:02 +0000 (12:52 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63397 | benjamin.peterson | 2008-05-16 17:59:28 -0500 (Fri, 16 May 2008) | 2 lines

  mention Py3k in glossary
........
  r63673 | benjamin.peterson | 2008-05-26 07:29:46 -0500 (Mon, 26 May 2008) | 2 lines

  some updates to string formatting section in whatsnew
........

Doc/glossary.rst
Doc/whatsnew/2.6.rst

index 77e586f631b42e05fd9cc6e6158d86a6aa0753c3..cd8b7ac6555d2bd0310f2c6740ea4ce8f57d7c16 100644 (file)
@@ -371,8 +371,9 @@ Glossary
       :term:`argument`.
 
    Python 3000
-      Nickname for the Python 3.x release line (coined long ago when the
-      release of version 3 was something in the distant future.)
+      Nickname for the Python 3.x release line (coined long ago when the release
+      of version 3 was something in the distant future.)  This is also
+      abbreviated "Py3k".
 
    Pythonic
       An idea or piece of code which closely follows the most common idioms of
index 31ea41d094177c099cdd45fe186c8ddd99ff5962..3fd892a4bdcb35c02563e5d5322a22264cea7230 100644 (file)
@@ -526,9 +526,9 @@ environment variable.
 PEP 3101: Advanced String Formatting
 =====================================================
 
-In Python 3.0, the `%` operator is supplemented by a more powerful
-string formatting method, :meth:`format`.  Support for the
-:meth:`format` method has been backported to Python 2.6.
+In Python 3.0, the `%` operator is supplemented by a more powerful string
+formatting method, :meth:`format`.  Support for the :meth:`str.format` method
+has been backported to Python 2.6.
 
 In 2.6, both 8-bit and Unicode strings have a `.format()` method that
 treats the string as a template and takes the arguments to be formatted.
@@ -650,8 +650,11 @@ the type's :meth:`__format__` method with the provided specifier::
 
 .. seealso::
 
+   :ref:`formatstrings`
+      The reference format fields.
+
    :pep:`3101` - Advanced String Formatting
-      PEP written by Talin.
+      PEP written by Talin. Implemented by Eric Smith.
 
 .. ======================================================================