[Python-checkins] cpython (merge 3.2 -> default): Merge with 3.2 #15660
terry.reedy
python-checkins at python.org
Fri Aug 17 21:42:56 CEST 2012
http://hg.python.org/cpython/rev/f181dd088e63
changeset: 78623:f181dd088e63
parent: 78620:4bbb1ff4f7ea
parent: 78622:6bc14974024f
user: Terry Jan Reedy <tjreedy at udel.edu>
date: Fri Aug 17 15:42:12 2012 -0400
summary:
Merge with 3.2 #15660
files:
Doc/library/string.rst | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Doc/library/string.rst b/Doc/library/string.rst
--- a/Doc/library/string.rst
+++ b/Doc/library/string.rst
@@ -368,9 +368,9 @@
*width* is a decimal integer defining the minimum field width. If not
specified, then the field width will be determined by the content.
-If the *width* field is preceded by a zero (``'0'``) character, this enables
-zero-padding. This is equivalent to an *alignment* type of ``'='`` and a *fill*
-character of ``'0'``.
+Preceding the *width* field by a zero (``'0'``) character enables
+sign-aware zero-padding for numeric types. This is equivalent to a *fill*
+character of ``'0'`` with an *alignment* type of ``'='``.
The *precision* is a decimal number indicating how many digits should be
displayed after the decimal point for a floating point value formatted with
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list