Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is_game_over() method missing from readthedocs #1137

Open
andreasabel opened this issue Feb 2, 2025 · 1 comment
Open

is_game_over() method missing from readthedocs #1137

andreasabel opened this issue Feb 2, 2025 · 1 comment

Comments

@andreasabel
Copy link

python-chess/chess/__init__.py

Lines 2036 to 2037 in f93a7ff

def is_game_over(self, *, claim_draw: bool = False) -> bool:
return self.outcome(claim_draw=claim_draw) is not None

Not sure how this can happen, but this method is missing at readthedocs, see here: https://python-chess.readthedocs.io/en/v1.11.1/core.html#chess.Board.outcome
The method is_game_over() is mentioned in the docs of outcome(), but it itself is missing from this page.

@MarkZH
Copy link
Contributor

MarkZH commented Feb 14, 2025

This is probably because the is_game_over() method doesn't have a docstring. Board.result() is also missing from readthedocs and does not have a docstring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants