Skip to content

Commit

Permalink
Fix doc issue, wrong type in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
miselico committed Jan 6, 2025
1 parent fe93f6e commit c409877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schnapsen/game.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def is_regular_move(self) -> bool:
return False

def as_regular_move(self) -> RegularMove:
"""Returns this same move but as a Marriage."""
"""Returns this same move but as a RegularMove."""
raise AssertionError("as_regular_move called on a Move which is not a regular move. Check with is_regular_move first.")

def is_marriage(self) -> bool:
Expand Down

0 comments on commit c409877

Please sign in to comment.