Skip to content

Commit 5673479

Browse files
committed
Mention that parse_san is not strict (#931)
1 parent 5535067 commit 5673479

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

chess/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2980,7 +2980,8 @@ def parse_san(self, san: str) -> Move:
29802980
algebraic notation and returns the corresponding move object.
29812981
29822982
Ambiguous moves are rejected. Overspecified moves (including long
2983-
algebraic notation) are accepted.
2983+
algebraic notation) are accepted. Some common syntactical deviations
2984+
are also accepted.
29842985
29852986
The returned move is guaranteed to be either legal or a null move.
29862987

0 commit comments

Comments
 (0)