Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit83d87fd

Browse files
committed
remove redundant brackets
1 parent85f1d67 commit83d87fd

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-
forlineinpaint.display_linize(
1450-
self.current_cursor_line_without_suggestion.s,self.width
1451-
)
1452-
]
1447+
line.s
1448+
forlineinpaint.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)

[8]ページ先頭

©2009-2025 Movatter.jp