summaryrefslogtreecommitdiffstats
path: root/Doc/includes/tzinfo_examples.py
diff options
context:
space:
mode:
authorAndrew Kuchling <amk@amk.ca>2018-07-07 21:36:23 (GMT)
committerGitHub <noreply@github.com>2018-07-07 21:36:23 (GMT)
commitced350b1952857a9b9c68ec7e2786358bcb61050 (patch)
tree9f89048abc8e117a828b96d077509c1002d49be3 /Doc/includes/tzinfo_examples.py
parentcaccca78e46bf3c3b24e09b3afb1c1b08c39990c (diff)
downloadcpython-ced350b1952857a9b9c68ec7e2786358bcb61050.zip
cpython-ced350b1952857a9b9c68ec7e2786358bcb61050.tar.gz
cpython-ced350b1952857a9b9c68ec7e2786358bcb61050.tar.bz2
bpo-28626: rearrange discussion of output formatting to encourage f-strings (#6036)
The 'output formatting' section of the tutorial talks a lot about manual formatting with things like .rjust() and .zfill(), with only a passing reference to 3.6's new f-strings. This doesn't drop all of the old material, but it does rearrange the topics into a more modern order: f-strings first, discussing formatting specifiers a bit; then calling .format(); finally manual formatting with .ljust().
Diffstat (limited to 'Doc/includes/tzinfo_examples.py')
0 files changed, 0 insertions, 0 deletions