Skip to content

Commit 7690384

Browse files
committed
InvalidMoveError does not depend on the position
1 parent 1345585 commit 7690384

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chess/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def result(self) -> str:
166166

167167

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

171171

172172
class IllegalMoveError(ValueError):

0 commit comments

Comments
 (0)