[Python-Dev] whitespace normalization (original) (raw)
Tim Peters tim.peters at gmail.com
Wed Apr 25 22:00:04 CEST 2007
- Previous message: [Python-Dev] whitespace normalization
- Next message: [Python-Dev] whitespace normalization
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Skip]
Maybe \s should expand to a single space by the lexer so people who want to rely on trailing spaces can be explicit about it. There already exists non-whitespace escape sequences for tabs and newlines.
Trailing whitspace is never significant on a code line, only inside a multiline string literal. In the extremely rare cases where one of those requires trailing spaces, \x20 works fine.
- Previous message: [Python-Dev] whitespace normalization
- Next message: [Python-Dev] whitespace normalization
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]