mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 21:42:25 +08:00
Fixing flake8 E401, E402 errors
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
# Stubs for email.parser (Python 3.4)
|
||||
|
||||
from typing import Callable, Optional, TextIO, BinaryIO
|
||||
import email.feedparser
|
||||
from email.message import Message
|
||||
import sys
|
||||
from typing import Callable, Optional, TextIO, BinaryIO
|
||||
if sys.version_info >= (3, 3):
|
||||
from email.policy import Policy
|
||||
import sys
|
||||
|
||||
FeedParser = email.feedparser.FeedParser
|
||||
BytesFeedParser = email.feedparser.BytesFeedParser
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# Stubs for email.policy (Python 3.4)
|
||||
|
||||
from abc import abstractmethod
|
||||
from typing import Any, Optional, Tuple, Union, Callable
|
||||
import sys
|
||||
from email.message import Message
|
||||
@@ -7,7 +8,6 @@ from email.errors import MessageDefect
|
||||
from email.header import Header
|
||||
if sys.version_info >= (3, 4):
|
||||
from email.contentmanager import ContentManager
|
||||
from abc import abstractmethod
|
||||
|
||||
if sys.version_info >= (3, 3):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user