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

Commitca6c957

Browse files
authored
correct LookupError
We are no longer inside of the BingoCage class, so we should change the LookupError's wording to reflect that this is an error within the new LotteryBlower class.
1 parent93a9ce6 commitca6c957

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
exceptValueError:
20-
raiseLookupError('pick from emptyBingoCage')
20+
raiseLookupError('pick from emptyLotteryBlower')
2121
returnself._balls.pop(position)# <3>
2222

2323
defloaded(self):# <4>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp