Skip to content

Commit 5357ae1

Browse files
committed
👹 Feed the hobgoblins (delint).
1 parent 2b4025f commit 5357ae1

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

‎path/__init__.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,28 +59,28 @@
5959
with contextlib.suppress(ImportError):
6060
import grp
6161

62+
from collections.abc import Generator, Iterable, Iterator
6263
from 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

7472
if 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]

‎path/masks.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
import itertools
55
import operator
66
import 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

0 commit comments

Comments
 (0)