bpo-31487: Update F-strings doc example (GH-3627)

Shorten the comment to: "using integer format specifier"
This commit is contained in:
Mariatta 2017-09-17 07:43:31 -07:00 committed by GitHub
parent 30b61b51e0
commit 63c591c0b0
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ Some examples of formatted string literals::
>>> f"{today:%b %d, %Y}" # using date format specifier
'January 27, 2017'
>>> number = 1024
>>> f"{number:#0x}" # using integer presentation type as format specifier
>>> f"{number:#0x}" # using integer format specifier
'0x400'
A consequence of sharing the same syntax as regular string literals is