Skip to content

Commit 713294a

Browse files
authored
Tweaks
1 parent 0a34707 commit 713294a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/pendulum/interval.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66
from datetime import date
77
from datetime import datetime
88
from datetime import timedelta
9-
from typing import TYPE_CHECKING
10-
from typing import Iterator
11-
from typing import Union
12-
from typing import cast
13-
from typing import overload
9+
from typing import TYPE_CHECKING, Any, Iterator, Union, cast, overload
1410

1511
import pendulum
1612

@@ -455,7 +451,7 @@ def __eq__(self, other: object) -> bool:
455451
def __ne__(self, other: object) -> bool:
456452
return not self.__eq__(other)
457453

458-
def __deepcopy__(self, memodict: dict[int, Self]) -> Self:
454+
def __deepcopy__(self, memo: dict[int, Any]) -> Self:
459455
return self.__class__(
460456
copy.deepcopy(self.start, memo),
461457
copy.deepcopy(self.end, memo),

0 commit comments

Comments
 (0)