File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -784,7 +784,8 @@ Note: **Literal newlines** (*not* escaped newlines: `\n`) are represented with `
784
784
785
785
## Algorithm for dedented strings
786
786
787
- Whitespace is spaces or horizontal tabs.
787
+ Whitespace is literal spaces or literal horizontal tabs.
788
+ An empty line only consists of literal spaces, literal horizontal tabs or literal newlines
788
789
789
790
1 . The opening line (the line containing the opening quote ` " ` )
790
791
- Must only contain a literal newline character after the ` " ` token
@@ -799,7 +800,7 @@ Whitespace is spaces or horizontal tabs.
799
800
800
801
It is the largest amount of leading whitespace shared by all non-empty lines.
801
802
802
- 1 . For each non-empty line, remove the smallest amount of leading whitespace that satisfies:
803
+ 1 . For each line, remove the smallest amount of leading whitespace that satisfies:
803
804
804
805
- ` min(common indentation, closing indentation) `
805
806
You can’t perform that action at this time.
0 commit comments