Skip to content

Commit

Permalink
Force same_order as kwarg
Browse files Browse the repository at this point in the history
Co-authored-by: Albert Zeyer <zeyer@cs.rwth-aachen.de>
  • Loading branch information
Icemole and albertz authored Oct 27, 2023
1 parent 6f75911 commit db4e426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lexicon.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def from_element(cls, e):
synt = None if not synt else synt[0]
return Lemma(orth, phon, synt, eval, special)

def _equals(self, other: Lemma, same_order: bool = True) -> bool:
def _equals(self, other: Lemma, *, same_order: bool = True) -> bool:
"""
Check for lemma equality.
Expand Down

0 comments on commit db4e426

Please sign in to comment.