]> granicus.if.org Git - python/commitdiff
Issue #28916: No special case for leading zeros with %x alternative form
authorMartin Panter <vadmium+py@gmail.com>
Sun, 11 Dec 2016 03:51:44 +0000 (03:51 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sun, 11 Dec 2016 03:51:44 +0000 (03:51 +0000)
Doc/library/stdtypes.rst

index 9f5255a58a4aa1cf4b39e4aff614ab819ea430fb..be2803239b7cbae19997b18b54951d3d0745c18e 100644 (file)
@@ -1551,9 +1551,7 @@ Notes:
 
 (2)
    The alternate form causes a leading ``'0x'`` or ``'0X'`` (depending on whether
-   the ``'x'`` or ``'X'`` format was used) to be inserted between left-hand padding
-   and the formatting of the number if the leading character of the result is not
-   already a zero.
+   the ``'x'`` or ``'X'`` format was used) to be inserted before the first digit.
 
 (3)
    The alternate form causes the result to always contain a decimal point, even if