• Andrew Kuchling's avatar
    bpo-28626: rearrange discussion of output formatting to encourage f-strings (#6036) · ced350b1
    Andrew Kuchling yazdı
    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().
    ced350b1
Adı
Son kayıt (commit)
Son güncelleme
..
appendix.rst Loading commit data...
appetite.rst Loading commit data...
classes.rst Loading commit data...
controlflow.rst Loading commit data...
datastructures.rst Loading commit data...
errors.rst Loading commit data...
floatingpoint.rst Loading commit data...
index.rst Loading commit data...
inputoutput.rst Loading commit data...
interactive.rst Loading commit data...
interpreter.rst Loading commit data...
introduction.rst Loading commit data...
modules.rst Loading commit data...
stdlib.rst Loading commit data...
stdlib2.rst Loading commit data...
venv.rst Loading commit data...
whatnow.rst Loading commit data...