Skip to content

Commit

Permalink
Ignore override
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Mar 3, 2025
1 parent 2d97521 commit d627229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PIL/TiffImagePlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def limit_rational(self, max_denominator: int) -> tuple[IntegralLike, int]:
def __repr__(self) -> str:
return str(float(self._val))

def __hash__(self) -> int:
def __hash__(self) -> int: # type: ignore[override]
return self._val.__hash__()

def __eq__(self, other: object) -> bool:
Expand Down

0 comments on commit d627229

Please sign in to comment.