Skip to content

Commit 336f12d

Browse files
committed
fix chess960_pos doc, 0..959 not 956
1 parent 2b2f149 commit 336f12d

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
@@ -2817,7 +2817,7 @@ def set_chess960_pos(self, scharnagl: int) -> None:
28172817

28182818
def chess960_pos(self, *, ignore_turn: bool = False, ignore_castling: bool = False, ignore_counters: bool = True) -> Optional[int]:
28192819
"""
2820-
Gets the Chess960 starting position index between 0 and 956,
2820+
Gets the Chess960 starting position index between 0 and 959,
28212821
or ``None`` if the current position is not a Chess960 starting
28222822
position.
28232823

0 commit comments

Comments
 (0)