Skip to content

Commit

Permalink
InvalidMoveError does not depend on the position
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Oct 15, 2022
1 parent 1345585 commit 7690384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chess/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def result(self) -> str:


class InvalidMoveError(ValueError):
"""Raised when the attempted move is invalid in the current position"""
"""Raised when move notation is not syntactically valid"""


class IllegalMoveError(ValueError):
Expand Down

0 comments on commit 7690384

Please sign in to comment.