]> granicus.if.org Git - python/commitdiff
Fixed wording for formatting integers: precision is not allowed.
authorEric Smith <eric@trueblade.com>
Thu, 7 May 2009 19:36:09 +0000 (19:36 +0000)
committerEric Smith <eric@trueblade.com>
Thu, 7 May 2009 19:36:09 +0000 (19:36 +0000)
Doc/library/string.rst

index d17ac7a3ccd659a2d9cd7364da9b4f48ed3cbd21..168d1a5a4d1e3e46f178cabf3e79c88b364f95e6 100644 (file)
@@ -395,7 +395,7 @@ displayed after the decimal point for a floating point value formatted with
 ``'f'`` and ``'F'``, or before and after the decimal point for a floating point
 value formatted with ``'g'`` or ``'G'``.  For non-number types the field
 indicates the maximum field size - in other words, how many characters will be
-used from the field content. The *precision* is ignored for integer values.
+used from the field content. The *precision* is not allowed for integer values.
 
 Finally, the *type* determines how the data should be presented.