diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-02-08 01:34:09 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-02-08 01:34:09 (GMT) |
commit | d5db14794bdeb4646ede5881aed43dd1838ffe7a (patch) | |
tree | 867cd7b301dd19e4db74e191281398ae40d00782 /Doc/tutorial | |
parent | b6213c5664cf983ae67059a41520af1aaeeb52c3 (diff) | |
download | cpython-d5db14794bdeb4646ede5881aed43dd1838ffe7a.zip cpython-d5db14794bdeb4646ede5881aed43dd1838ffe7a.tar.gz cpython-d5db14794bdeb4646ede5881aed43dd1838ffe7a.tar.bz2 |
Issue #25179: Preparatory cleanup of existing docs on string formatting
* Various sections were pointing to the section on the string.Formatter
class, when the section on the common format string syntax is probably more
appropriate
* Fix references to various format() functions and methods
* Nested replacement fields may contain conversions and format specifiers,
and this is tested; see Issue #19729 for instance
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/introduction.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index c5c1343..8758f38 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -352,9 +352,8 @@ The built-in function :func:`len` returns the length of a string:: Strings support a large number of methods for basic transformations and searching. - :ref:`string-formatting` - Information about string formatting with :meth:`str.format` is described - here. + :ref:`formatstrings` + Information about string formatting with :meth:`str.format`. :ref:`old-string-formatting` The old formatting operations invoked when strings and Unicode strings are |