Tweak example to handle changes to Python 3.6's integer formatting.

Fixes #167.
This commit is contained in:
Chris Angelico 2016-12-26 17:56:00 +11:00
parent e526964e5d
commit 6424fde2f2
1 changed files with 1 additions and 1 deletions

View File

@ -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