Skip to content

Commit b53c6e6

Browse files
authored
Merge pull request #1189 from kraktus/nit_doc
fix `chess960_pos` doc, 0..959 not 956
2 parents 2b2f149 + 336f12d commit b53c6e6

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)