Skip to content

Commit 64e2553

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pendulum/tz/timezone.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from abc import ABC
88
from abc import abstractmethod
99
from typing import TYPE_CHECKING
10-
from typing import Any
1110
from typing import TypeVar
1211
from typing import cast
1312

@@ -67,7 +66,7 @@ def __new__(cls, key: str) -> Self:
6766
except zoneinfo.ZoneInfoNotFoundError:
6867
raise InvalidTimezone(key)
6968

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

7372
@property

0 commit comments

Comments
 (0)