# HG changeset patch # Parent e414fb1640e05ae6f764f2b95bae8380d46c038d Issue #28916: No special case for leading zeros with %x alternative form diff -r e414fb1640e0 Doc/library/stdtypes.rst --- a/Doc/library/stdtypes.rst Wed Dec 07 23:34:23 2016 -0500 +++ b/Doc/library/stdtypes.rst Sat Dec 10 05:48:59 2016 +0000 @@ -1551,9 +1551,7 @@ (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