Skip to content

Commit 9df867e

Browse files
committed
Remove useless parens
1 parent 93a89fd commit 9df867e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/tron.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,14 @@ def do_introduction(window):
165165

166166
def mainloop(window, p2_bot=False):
167167
p1_attrs = {
168-
"appearance": on_blue((cyan("1"))),
168+
"appearance": on_blue(cyan("1")),
169169
"x": window.width // 4,
170170
"y": window.height // 2,
171171
"keys": {"w": 90, "a": 180, "s": 270, "d": 0},
172172
}
173173

174174
p2_attrs = {
175-
"appearance": on_red((yellow("2"))),
175+
"appearance": on_red(yellow("2")),
176176
"x": 3 * window.width // 4,
177177
"y": window.height // 2,
178178
"keys": {"<UP>": 90, "<LEFT>": 180, "<DOWN>": 270, "<RIGHT>": 0},

0 commit comments

Comments
 (0)