summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2020-09-12 23:48:57 +0200
committerOlivier Gayot <olivier.gayot@sigexec.com>2020-09-12 23:48:57 +0200
commitc6f5c844abfc2461e4b19ee966808c475eac1741 (patch)
treea538e5480caf43f2ebd4bdee8bcd5347e7f8ad51
parent893ba922ca9215f95d843235b6b402a0345ea432 (diff)
Use _ name for unused counter
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
-rw-r--r--swiftstory/Game.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/swiftstory/Game.py b/swiftstory/Game.py
index 001ef23..cb02a1d 100644
--- a/swiftstory/Game.py
+++ b/swiftstory/Game.py
@@ -34,7 +34,7 @@ class Game:
cards = []
try:
- for i in range(10):
+ for _ in range(10):
cards.append(self.board.pick_white_card())
except IndexError:
return error('no enough white cards for player')