Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9c026f commit f6190c1Copy full SHA for f6190c1
1 file changed
Doc/library/string.rst
@@ -368,9 +368,9 @@ instead.
368
*width* is a decimal integer defining the minimum field width. If not
369
specified, then the field width will be determined by the content.
370
371
-If the *width* field is preceded by a zero (``'0'``) character, this enables
372
-zero-padding. This is equivalent to an *alignment* type of ``'='`` and a *fill*
373
-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 ``'='``.
374
375
The *precision* is a decimal number indicating how many digits should be
376
displayed after the decimal point for a floating point value formatted with
0 commit comments