mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-29 06:05:36 -08:00
Python: Fix code style issues
This commit is contained in:
@@ -27,9 +27,12 @@ human_marbles = -1
|
||||
computer_marbles = -1
|
||||
whose_turn = ""
|
||||
|
||||
# Only called during development for serious errors that are due to mistakes
|
||||
# in the program. Should never be called during a regular game.
|
||||
|
||||
def serious_error(msg):
|
||||
"""
|
||||
Only call this function during development for serious errors that are due
|
||||
to mistakes in the program. Should never be called during a regular game.
|
||||
"""
|
||||
print("serious_error: " + msg)
|
||||
exit(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user