Add missing List imports.

This commit is contained in:
Lukasz Langa
2016-12-21 01:06:52 -08:00
parent 8c5c788a4d
commit 5f416fae64
20 changed files with 21 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
# Stubs for email.charset (Python 3.4)
from typing import Optional, Iterator, Any
from typing import List, Optional, Iterator, Any
class Charset:
input_charset = ... # type: str

View File

@@ -1,7 +1,7 @@
# Stubs for email.message (Python 3.4)
from typing import (
Optional, Union, Tuple, TypeVar, Generator, Sequence, Iterator, Any
List, Optional, Union, Tuple, TypeVar, Generator, Sequence, Iterator, Any
)
import sys
from email.charset import Charset

View File

@@ -1,7 +1,7 @@
# Stubs for email.policy (Python 3.4)
from abc import abstractmethod
from typing import Any, Optional, Tuple, Union, Callable
from typing import Any, List, Optional, Tuple, Union, Callable
import sys
from email.message import Message
from email.errors import MessageDefect