From 893ba922ca9215f95d843235b6b402a0345ea432 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sat, 12 Sep 2020 23:48:15 +0200 Subject: Remove useless use of list comprehension Signed-off-by: Olivier Gayot --- swiftstory/Game.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'swiftstory') diff --git a/swiftstory/Game.py b/swiftstory/Game.py index 6ba4e57..001ef23 100644 --- a/swiftstory/Game.py +++ b/swiftstory/Game.py @@ -11,8 +11,8 @@ class Game: WAITING_DESIGNATION = 2 def __init__(self, white_desc, black_desc): - white_pick = [i for i in enumerate(white_desc)] - black_pick = [i for i in enumerate(black_desc)] + white_pick = list(enumerate(white_desc)) + black_pick = list(enumerate(black_desc)) self.state = self.WAITING_NEW_JUDGE -- cgit v1.2.3