forked from microsoft/vscode-python
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Do not truncate whitespace for multi-line string" (microsoft#…
…24096) Reverts microsoft#23977 Have to revert microsoft#23977 with issue: microsoft#23743 due to microsoft#24069 Will revisit why microsoft#23743 is breaking if contained inside other top level (in ast term) code block, and look into how to support microsoft#23743 without breaking.
- Loading branch information
1 parent
9d38ea3
commit 8a02e00
Showing
3 changed files
with
3 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 1 addition & 9 deletions
10
src/test/python_files/terminalExec/sample2_normalized_selection.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
def add(x, y): | ||
""" | ||
Adds x | ||
to | ||
y | ||
""" | ||
"""Adds x to y""" | ||
# Some comment | ||
return x + y | ||
|
||
v = add(1, 7) | ||
print(v) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
def add(x, y): | ||
""" | ||
Adds x | ||
to | ||
y | ||
""" | ||
"""Adds x to y""" | ||
# Some comment | ||
|
||
return x + y | ||
|
||
v = add(1, 7) | ||
|