Skip to content

Commit 454d17c

Browse files
maltheSecrus
andcommitted
Consistency
Co-authored-by: Bartosz Sokorski <[email protected]>
1 parent 505ea1d commit 454d17c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pendulum/tz/timezone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __new__(cls, key: str) -> Self:
6767
except zoneinfo.ZoneInfoNotFoundError:
6868
raise InvalidTimezone(key)
6969

70-
def __eq__(self, other: Any) -> bool:
70+
def __eq__(self, other: object) -> bool:
7171
return isinstance(other, PendulumTimezone) and self.key == other.key
7272

7373
@property

0 commit comments

Comments
 (0)