Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1e2f050

Browse files
committed
Merged revisions 63397,63673 via svnmerge from
svn+ssh://[email protected]/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 ........
1 parent c559572 commit 1e2f050

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

Doc/glossary.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,9 @@ Glossary
371371
:term:`argument`.
372372

373373
Python 3000
374-
Nickname for the Python 3.x release line (coined long ago when the
375-
release of version 3 was something in the distant future.)
374+
Nickname for the Python 3.x release line (coined long ago when the release
375+
of version 3 was something in the distant future.) This is also
376+
abbreviated "Py3k".
376377

377378
Pythonic
378379
An idea or piece of code which closely follows the most common idioms of

Doc/whatsnew/2.6.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -526,9 +526,9 @@ environment variable.
526526
PEP 3101: Advanced String Formatting
527527
=====================================================
528528

529-
In Python 3.0, the `%` operator is supplemented by a more powerful
530-
string formatting method, :meth:`format`. Support for the
531-
:meth:`format` method has been backported to Python 2.6.
529+
In Python 3.0, the `%` operator is supplemented by a more powerful string
530+
formatting method, :meth:`format`. Support for the :meth:`str.format` method
531+
has been backported to Python 2.6.
532532

533533
In 2.6, both 8-bit and Unicode strings have a `.format()` method that
534534
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::
650650

651651
.. seealso::
652652

653+
:ref:`formatstrings`
654+
The reference format fields.
655+
653656
:pep:`3101` - Advanced String Formatting
654-
PEP written by Talin.
657+
PEP written by Talin. Implemented by Eric Smith.
655658

656659
.. ======================================================================
657660

0 commit comments

Comments
 (0)