Sujet : Re: Password Hash Validation (Posting On Python-List Prohibited)
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.pythonDate : 20. Jun 2024, 02:00:35
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v4vuvj$27pi6$3@dont-email.me>
References : 1 2
User-Agent : Pan/0.158 (Avdiivka; )
On Wed, 19 Jun 2024 17:29:01 +0100, Gordinator wrote:
What an...interesting commenting method. I would personally use
"""triple quotes""" to allow for multi-line comments ...
But then you end up with extra space for indentation inside the strings,
and you need additional processing to strip it out afterwards.
It always seemed to me that multiline strings should follow a similar
indentation rule to statement blocks: lines after the first one must be at
least as indented as the first line, and that initial indentation is
stripped from the start of all of the lines, at compile time.