]> granicus.if.org Git - python/commitdiff
Issue #11304: Input/output tutorial - PI is rounded not truncated.
authorRaymond Hettinger <python@rcn.com>
Thu, 24 Feb 2011 00:08:13 +0000 (00:08 +0000)
committerRaymond Hettinger <python@rcn.com>
Thu, 24 Feb 2011 00:08:13 +0000 (00:08 +0000)
Doc/tutorial/inputoutput.rst

index 04665f88017e67000178ff165ab3108e176f56c2..d94bfe07dd8836f97f4e397e8fd30a990c36b803 100644 (file)
@@ -163,7 +163,7 @@ Positional and keyword arguments can be arbitrarily combined::
 
 An optional ``':'`` and format specifier can follow the field name. This allows
 greater control over how the value is formatted.  The following example
-truncates Pi to three places after the decimal.
+rounds Pi to three places after the decimal.
 
    >>> import math
    >>> print('The value of PI is approximately {0:.3f}.'.format(math.pi))