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 64e2553Copy full SHA for 64e2553
src/pendulum/tz/timezone.py
@@ -7,7 +7,6 @@
7
from abc import ABC
8
from abc import abstractmethod
9
from typing import TYPE_CHECKING
10
-from typing import Any
11
from typing import TypeVar
12
from typing import cast
13
@@ -67,7 +66,7 @@ def __new__(cls, key: str) -> Self:
67
66
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