Skip to content

Commit 83d87fd

Browse files
committed
remove redundant brackets
1 parent 85f1d67 commit 83d87fd

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,12 +1444,10 @@ def number_of_padding_chars_on_current_cursor_line(self):
14441444
Should return zero unless there are fullwidth characters. """
14451445
full_line = self.current_cursor_line_without_suggestion
14461446
line_with_padding = "".join(
1447-
[
1448-
line.s
1449-
for line in paint.display_linize(
1450-
self.current_cursor_line_without_suggestion.s, self.width
1451-
)
1452-
]
1447+
line.s
1448+
for line in paint.display_linize(
1449+
self.current_cursor_line_without_suggestion.s, self.width
1450+
)
14531451
)
14541452

14551453
# the difference in length here is how much padding there is

0 commit comments

Comments
 (0)