mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-24 17:28:40 +08:00
Third-party stubs: import from collections.abc where possible (#7637)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from _typeshed import StrPath, SupportsRead
|
||||
from typing import Any, MutableSequence, Sequence
|
||||
from collections.abc import MutableSequence, Sequence
|
||||
from typing import Any
|
||||
|
||||
g_token_cache: dict[str, list[tuple[str, str]]] # undocumented
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from typing import Iterator
|
||||
from collections.abc import Iterator
|
||||
|
||||
class ChevronError(SyntaxError): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user