summaryrefslogtreecommitdiffstats
path: root/Doc/library/pprint.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-02-08 01:34:09 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-02-08 01:34:09 (GMT)
commitd5db14794bdeb4646ede5881aed43dd1838ffe7a (patch)
tree867cd7b301dd19e4db74e191281398ae40d00782 /Doc/library/pprint.rst
parentb6213c5664cf983ae67059a41520af1aaeeb52c3 (diff)
downloadcpython-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/library/pprint.rst')
-rw-r--r--Doc/library/pprint.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/pprint.rst b/Doc/library/pprint.rst
index 0b44dc8..b109efe 100644
--- a/Doc/library/pprint.rst
+++ b/Doc/library/pprint.rst
@@ -197,7 +197,7 @@ are converted to strings. The default implementation uses the internals of the
the current presentation context (direct and indirect containers for *object*
that are affecting the presentation) as the keys; if an object needs to be
presented which is already represented in *context*, the third return value
- should be ``True``. Recursive calls to the :meth:`format` method should add
+ should be ``True``. Recursive calls to the :meth:`.format` method should add
additional entries for containers to this dictionary. The third argument,
*maxlevels*, gives the requested limit to recursion; this will be ``0`` if there
is no requested limit. This argument should be passed unmodified to recursive