Skip to content

Commit

Permalink
Mention that parse_san is not strict (#931)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Nov 27, 2022
1 parent 5535067 commit 5673479
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chess/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2980,7 +2980,8 @@ def parse_san(self, san: str) -> Move:
algebraic notation and returns the corresponding move object.
Ambiguous moves are rejected. Overspecified moves (including long
algebraic notation) are accepted.
algebraic notation) are accepted. Some common syntactical deviations
are also accepted.
The returned move is guaranteed to be either legal or a null move.
Expand Down

0 comments on commit 5673479

Please sign in to comment.