• Coriza@lemmy.world
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 months ago

    Docstrings now have their leading indentation stripped

    I foolish thought that it meant that finally python introduced a hassle free simple way to have indented triple-quoted literal strings. But no. It baffles me that you cannot have simple literal strings that are indented. This is specially annoying if you are using them as templates to output multiline text.