Skip to content

Commit 3840c38

Browse files
committed
fix Self import for older python versions
1 parent ec2bab2 commit 3840c38

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

basedtyping/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
ForwardRef,
1010
Generic,
1111
NoReturn,
12-
Self,
1312
Sequence,
1413
Tuple,
1514
Type,
@@ -19,7 +18,7 @@
1918
cast,
2019
)
2120

22-
from typing_extensions import Final, TypeAlias, TypeGuard
21+
from typing_extensions import Final, Self, TypeAlias, TypeGuard
2322

2423
from basedtyping.runtime_only import OldUnionType
2524

0 commit comments

Comments
 (0)