From 3eb92e06df22f8a7f2c8a021094b106d9ef77b34 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Sun, 11 Dec 2016 03:51:44 +0000 Subject: Issue #28916: No special case for leading zeros with %x alternative form --- Doc/library/stdtypes.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 9f5255a..be28032 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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 -- cgit v0.12