Skip to content

Commit 298e9f5

Browse files
Jisu RyuCarreau
authored andcommitted
Fix formatting
1 parent 2888354 commit 298e9f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

IPython/core/magics/code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,8 @@ def strip_initial_indent(lines):
153153

154154
for line in it:
155155
if line.startswith(indent):
156-
yield line[len(indent):]
157-
elif line in ('\n', '\r\n') or len(line) == 0:
156+
yield line[len(indent) :]
157+
elif line in ("\n", "\r\n") or len(line) == 0:
158158
yield line
159159
else:
160160
# Less indented than the first line - stop dedenting

0 commit comments

Comments
 (0)