Idea 11046804: respect multi-line triple quoted strings indentation
Status : declined
Submitted by George on 12/10/2015 12:00:00 AM
1 votes
It would be useful if the starting position of a multi-line triple quoted string could set the starting position of the content when it is the first non-whitespace character on it's source line. Additionally, when it is followed only by source level whitespace character, then the content is presume to actually start on the next line, indented of course. If non-whitespace characters occur prior to the indent point, then it may be flagged as a syntax error, however, EOL characters would be retained to capture lines.
Perhaps a new symbol could be used other than triple quotes...perhaps quadruple quotes: """"
Idea 11046804: respect multi-line triple quoted strings indentation
Status : declined
Submitted by George on 12/10/2015 12:00:00 AM
1 votes
It would be useful if the starting position of a multi-line triple quoted string could set the starting position of the content when it is the first non-whitespace character on it's source line. Additionally, when it is followed only by source level whitespace character, then the content is presume to actually start on the next line, indented of course. If non-whitespace characters occur prior to the indent point, then it may be flagged as a syntax error, however, EOL characters would be retained to capture lines. Perhaps a new symbol could be used other than triple quotes...perhaps quadruple quotes: """"