mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-28 06:36:54 +08:00
Add missing List imports.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import Any, Iterable, Optional, Tuple, Sequence
|
||||
from typing import Any, Iterable, List, Optional, Tuple, Sequence
|
||||
import datetime
|
||||
|
||||
LocaleType = Tuple[Optional[str], Optional[str]]
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Stubs for http.cookies (Python 3.5)
|
||||
|
||||
from typing import Generic, Mapping, MutableMapping, Optional, TypeVar, Union
|
||||
from typing import Generic, List, Mapping, MutableMapping, Optional, TypeVar, Union
|
||||
|
||||
_DataType = Union[str, Mapping[str, Union[str, 'Morsel']]]
|
||||
_T = TypeVar('_T')
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from typing import List
|
||||
from multiprocessing import Process
|
||||
|
||||
def current_process() -> Process: ...
|
||||
|
||||
Reference in New Issue
Block a user