Skip to content

Commit 313d38b

Browse files
maltheSecrus
andauthored
Consistency
Co-authored-by: Bartosz Sokorski <[email protected]>
1 parent fd360ac commit 313d38b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pendulum/tz/timezone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def __new__(cls, key: str) -> Timezone:
5858
except zoneinfo.ZoneInfoNotFoundError:
5959
raise InvalidTimezone(key)
6060

61-
def __eq__(self, other: Any) -> bool:
61+
def __eq__(self, other: object) -> bool:
6262
return isinstance(other, PendulumTimezone) and self.key == other.key
6363

6464
@property

0 commit comments

Comments
 (0)