[Python-checkins] r63673 - python/trunk/Doc/whatsnew/2.6.rst
benjamin.peterson
python-checkins at python.org
Mon May 26 14:29:47 CEST 2008
Author: benjamin.peterson
Date: Mon May 26 14:29:46 2008
New Revision: 63673
Log:
some updates to string formatting section in whatsnew
Modified:
python/trunk/Doc/whatsnew/2.6.rst
Modified: python/trunk/Doc/whatsnew/2.6.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.6.rst (original)
+++ python/trunk/Doc/whatsnew/2.6.rst Mon May 26 14:29:46 2008
@@ -526,9 +526,9 @@
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.
@@ -649,8 +649,11 @@
.. seealso::
+ :ref:`formatstrings`
+ The reference format fields.
+
:pep:`3101` - Advanced String Formatting
- PEP written by Talin.
+ PEP written by Talin. Implemented by Eric Smith.
.. ======================================================================
More information about the Python-checkins
mailing list