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 | 00f19eff3ed71ebe867591f09fd744bbdcd58b91 (patch) | |
| tree | e6df1f31a91e16d0d5b0045aefa80aacca58840e /Doc/tutorial | |
| parent | 9c61f2e45b1b1e0c1e6c8c308c8b6ad8f0e05426 (diff) | |
| download | cpython-00f19eff3ed71ebe867591f09fd744bbdcd58b91.zip cpython-00f19eff3ed71ebe867591f09fd744bbdcd58b91.tar.gz cpython-00f19eff3ed71ebe867591f09fd744bbdcd58b91.tar.bz2 | |
Issue #25179: Preparatory cleanup of existing docs on string formatting
* There was a link pointing to the section on the string.Formatter class (and
multiple links in Python 3), 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 in Python 3; 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 e5ced49..40c0201 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -357,9 +357,8 @@ The built-in function :func:`len` returns the length of a string:: Both strings and Unicode strings support a large number of methods for basic transformations and searching. - :ref:`new-string-formatting` - Information about string formatting with :meth:`str.format` is described - here. + :ref:`formatstrings` + Information about string formatting with :meth:`str.format`. :ref:`string-formatting` The old formatting operations invoked when strings and Unicode strings are |
