mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Import from collections.abc wherever possible (#7635)
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import email.feedparser
|
||||
from collections.abc import Callable
|
||||
from email import _MessageT
|
||||
from email.message import Message
|
||||
from email.policy import Policy
|
||||
from typing import BinaryIO, Callable, TextIO
|
||||
from typing import BinaryIO, TextIO
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
__all__ = ["Parser", "HeaderParser", "BytesParser", "BytesHeaderParser", "FeedParser", "BytesFeedParser"]
|
||||
|
||||
Reference in New Issue
Block a user