We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 505ea1d commit 454d17cCopy full SHA for 454d17c
src/pendulum/tz/timezone.py
@@ -67,7 +67,7 @@ def __new__(cls, key: str) -> Self:
67
except zoneinfo.ZoneInfoNotFoundError:
68
raise InvalidTimezone(key)
69
70
- def __eq__(self, other: Any) -> bool:
+ def __eq__(self, other: object) -> bool:
71
return isinstance(other, PendulumTimezone) and self.key == other.key
72
73
@property
0 commit comments