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
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Commit 086e3a6

Browse files
authored
Merge pull request #45 from Destaq/patch-1
correct LookupError
2 parents f31f0cb + ca6c957 commit 086e3a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎11-iface-abc/lotto.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def pick(self):
1717
try:
1818
position = random.randrange(len(self._balls)) # <2>
1919
except ValueError:
20-
raise LookupError('pick from empty BingoCage')
20+
raise LookupError('pick from empty LotteryBlower')
2121
return self._balls.pop(position) # <3>
2222

2323
def loaded(self): # <4>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /