Merged revisions 63655 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63655 | benjamin.peterson | 2008-05-25 19:54:22 -0500 (Sun, 25 May 2008) | 2 lines

  update the tutorial to use str.format
........
This commit is contained in:
Benjamin Peterson 2008-05-26 01:03:56 +00:00
parent dc6c16ac63
commit e6f00637be
7 changed files with 84 additions and 34 deletions

View file

@ -393,8 +393,12 @@ The built-in function :func:`len` returns the length of a string::
basic transformations and searching.
:ref:`string-formatting`
The formatting operations invoked by the :meth:`format` string method are
described in more detail here.
Information about string formatting with :meth:`str.format` is described
here.
:ref:`old-string-formatting`
The old formatting operations invoked when strings and Unicode strings are
the left operand of the ``%`` operator are described in more detail here.
.. _tut-unicodestrings: