summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-05-26 12:52:02 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-05-26 12:52:02 (GMT)
commit1e2f050a7952823a0cacbf32e2e9ccfc0a50b470 (patch)
tree53109300fc016e241c108700c9fab1de26696d11 /Doc
parentc5595728af485175d5f9472fcf93e1dc4b3598f2 (diff)
downloadcpython-1e2f050a7952823a0cacbf32e2e9ccfc0a50b470.zip
cpython-1e2f050a7952823a0cacbf32e2e9ccfc0a50b470.tar.gz
cpython-1e2f050a7952823a0cacbf32e2e9ccfc0a50b470.tar.bz2
Merged revisions 63397,63673 via svnmerge from
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 ........
Diffstat (limited to 'Doc')
-rw-r--r--Doc/glossary.rst5
-rw-r--r--Doc/whatsnew/2.6.rst11
2 files changed, 10 insertions, 6 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index 77e586f..cd8b7ac 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -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
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 31ea41d..3fd892a 100644
--- a/Doc/whatsnew/2.6.rst
+++ b/Doc/whatsnew/2.6.rst
@@ -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.
.. ======================================================================