[Python-checkins] r63649 - python/trunk/Doc/library/string.rst
benjamin.peterson
python-checkins at python.org
Sun May 25 22:05:52 CEST 2008
Author: benjamin.peterson
Date: Sun May 25 22:05:52 2008
New Revision: 63649
Log:
rename the section about new formatting 'new-string-formatting'
Modified:
python/trunk/Doc/library/string.rst
Modified: python/trunk/Doc/library/string.rst
==============================================================================
--- python/trunk/Doc/library/string.rst (original)
+++ python/trunk/Doc/library/string.rst Sun May 25 22:05:52 2008
@@ -103,16 +103,16 @@
:func:`strip` and :func:`split` is undefined.
-.. _string-formatting:
+.. _new-string-formatting:
String Formatting
-----------------
Starting in Python 2.6, the built-in str and unicode classes provide the ability
-to do complex variable substitutions and value formatting via the :func:`format`
-method described in :pep:`3101`. The :class:`Formatter` class in the
-:mod:`string` module allows you to create and customize your own string
-formatting behaviors using the same implementation as the built-in
+to do complex variable substitutions and value formatting via the
+:meth:`str.format` method described in :pep:`3101`. The :class:`Formatter`
+class in the :mod:`string` module allows you to create and customize your own
+string formatting behaviors using the same implementation as the built-in
:meth:`format` method.
.. class:: Formatter
More information about the Python-checkins
mailing list