Skip to content

Commit 1da2d3e

Browse files
author
Muhamed Fazal PS
committed
Fix lint: break semicolons into separate lines
1 parent 3249266 commit 1da2d3e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Lib/idlelib/autocomplete.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ def fetch_completions(self, what, mode):
186186
bigl.extend(completion_kwds)
187187
bigl.sort()
188188
if "__all__" in bigl:
189-
all_val = eval("__all__", namespace); smalll = sorted(all_val) if hasattr(all_val, "__iter__") else [s for s in bigl if s[:1] != "_"]
189+
all_val = eval("__all__", namespace)
190+
smalll = sorted(all_val) if hasattr(all_val, "__iter__") else [s for s in bigl if s[:1] != "_"]
190191
else:
191192
smalll = [s for s in bigl if s[:1] != '_']
192193
else:
@@ -195,7 +196,8 @@ def fetch_completions(self, what, mode):
195196
bigl = dir(entity)
196197
bigl.sort()
197198
if "__all__" in bigl:
198-
all_val = entity.__all__; smalll = sorted(all_val) if hasattr(all_val, "__iter__") else [s for s in bigl if s[:1] != "_"]
199+
all_val = entity.__all__
200+
smalll = sorted(all_val) if hasattr(all_val, "__iter__") else [s for s in bigl if s[:1] != "_"]
199201
else:
200202
smalll = [s for s in bigl if s[:1] != '_']
201203
except:

0 commit comments

Comments
 (0)