From 6424fde2f2297733e10faa5fe8208f39a2aede8e Mon Sep 17 00:00:00 2001 From: Chris Angelico Date: Mon, 26 Dec 2016 17:56:00 +1100 Subject: [PATCH] Tweak example to handle changes to Python 3.6's integer formatting. Fixes #167. --- pep-0498.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep-0498.txt b/pep-0498.txt index 4276f58bc..bd6ebeda2 100644 --- a/pep-0498.txt +++ b/pep-0498.txt @@ -116,7 +116,7 @@ and ``datetime``). This example is not possible with ``string.Template``:: >>> value = 1234 - >>> f'input={value:#0.6x}' + >>> f'input={value:#06x}' 'input=0x04d2' And neither %-formatting nor ``string.Template`` can control