mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Import from collections.abc wherever possible (#7635)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import sys
|
||||
from _typeshed import BytesPath, StrOrBytesPath, StrPath
|
||||
from collections.abc import Sequence
|
||||
from genericpath import (
|
||||
commonprefix as commonprefix,
|
||||
exists as exists,
|
||||
@@ -14,7 +15,7 @@ from genericpath import (
|
||||
samestat as samestat,
|
||||
)
|
||||
from os import PathLike
|
||||
from typing import AnyStr, Sequence, overload
|
||||
from typing import AnyStr, overload
|
||||
|
||||
__all__ = [
|
||||
"normcase",
|
||||
|
||||
Reference in New Issue
Block a user