Skip to content

Commit

Permalink
Merge pull request #11 from jorenham/bugfix/does_imod
Browse files Browse the repository at this point in the history
fix incorrect `optype.DoesIMod` annotation
  • Loading branch information
jorenham authored Mar 16, 2024
2 parents bc4ece3 + dd3af8c commit d2e54dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optype/_does.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def __call__[X, Y](self, __o: _c.CanIFloordiv[X, Y], __x: X, /) -> Y: ...

@final
class DoesIMod(Protocol):
def __call__[X, Y](self, __o: _c.CanMod[X, Y], __x: X, /) -> Y: ...
def __call__[X, Y](self, __o: _c.CanIMod[X, Y], __x: X, /) -> Y: ...


@final
Expand Down

0 comments on commit d2e54dd

Please sign in to comment.