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 fd360ac commit 313d38bCopy full SHA for 313d38b
pendulum/tz/timezone.py
@@ -58,7 +58,7 @@ def __new__(cls, key: str) -> Timezone:
58
except zoneinfo.ZoneInfoNotFoundError:
59
raise InvalidTimezone(key)
60
61
- def __eq__(self, other: Any) -> bool:
+ def __eq__(self, other: object) -> bool:
62
return isinstance(other, PendulumTimezone) and self.key == other.key
63
64
@property
0 commit comments