File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 5959with contextlib .suppress (ImportError ):
6060 import grp
6161
62+ from collections .abc import Generator , Iterable , Iterator
6263from typing import (
63- TYPE_CHECKING ,
6464 IO ,
65+ TYPE_CHECKING ,
6566 Any ,
6667 BinaryIO ,
6768 Callable ,
68- Generator ,
69- Iterable ,
70- Iterator ,
7169 overload ,
7270)
7371
7472if TYPE_CHECKING :
75- from typing_extensions import Literal , Never , Self , Union
73+ from typing import Union
74+
7675 from _typeshed import (
76+ ExcInfo ,
7777 OpenBinaryMode ,
7878 OpenBinaryModeReading ,
7979 OpenBinaryModeUpdating ,
8080 OpenBinaryModeWriting ,
8181 OpenTextMode ,
82- ExcInfo ,
8382 )
83+ from typing_extensions import Literal , Never , Self
8484
8585 _Match = Union [str , Callable [[str ], bool ], None ]
8686 _CopyFn = Callable [[str , str ], object ]
Original file line number Diff line number Diff line change 44import itertools
55import operator
66import re
7-
8- from typing import Any , Callable , Iterable , Iterator
7+ from collections . abc import Iterable , Iterator
8+ from typing import Any , Callable
99
1010
1111# from jaraco.functools
You can’t perform that action at this time.
0 commit comments