[Python] Clarify Python style recommendations for production code?

Discussão em 'Python' iniciado por Stack, Julho 26, 2025.

  1. Stack

    Stack Membro Participativo

    I am concerned that triple string multi-line comments can waste memory and performance resources? Therefore should I just stick to using the # key for comments and the triple quote for docstrings?

    # Spaces before print are called indentation
    # This is a single-line comment
    '''
    This is a
    multi-line comment
    '''

    Continue reading...

Compartilhe esta Página