mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Remove a bunch of unused imports (#3323)
This commit is contained in:
committed by
Jelle Zijlstra
parent
a6f146e651
commit
256b3ce8ab
@@ -1,7 +1,6 @@
|
||||
# Stubs for email (Python 3.4)
|
||||
|
||||
from typing import Callable, Optional, IO
|
||||
import sys
|
||||
from typing import Callable, IO
|
||||
from email.message import Message
|
||||
from email.policy import Policy
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# Stubs for email.feedparser (Python 3.4)
|
||||
|
||||
from typing import Callable
|
||||
import sys
|
||||
from email.message import Message
|
||||
from email.policy import Policy
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
from typing import (
|
||||
List, Optional, Union, Tuple, TypeVar, Generator, Sequence, Iterator, Any
|
||||
)
|
||||
import sys
|
||||
from email.charset import Charset
|
||||
from email.errors import MessageDefect
|
||||
from email.header import Header
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import email.feedparser
|
||||
from email.message import Message
|
||||
from email.policy import Policy
|
||||
from typing import BinaryIO, Callable, Optional, TextIO
|
||||
from typing import BinaryIO, Callable, TextIO
|
||||
|
||||
FeedParser = email.feedparser.FeedParser
|
||||
BytesFeedParser = email.feedparser.BytesFeedParser
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
from abc import abstractmethod
|
||||
from typing import Any, List, Optional, Tuple, Union, Callable
|
||||
import sys
|
||||
from email.message import Message
|
||||
from email.errors import MessageDefect
|
||||
from email.header import Header
|
||||
|
||||
Reference in New Issue
Block a user