Add missing imports from typing (#933)

This commit is contained in:
Ivan Levkivskyi
2017-02-14 19:59:01 +01:00
committed by Guido van Rossum
parent f869a5d351
commit 22c0353498
7 changed files with 7 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
# Stubs for pathlib (Python 3.4)
from typing import Any, Generator, IO, Optional, Sequence, Tuple, Type, TypeVar, Union
from typing import Any, Generator, IO, Optional, Sequence, Tuple, Type, TypeVar, Union, List
import os
import sys

View File

@@ -1,4 +1,4 @@
from typing import List, Union, Iterator, Tuple, Optional, Any, IO, NamedTuple
from typing import List, Union, Iterator, Tuple, Optional, Any, IO, NamedTuple, Dict
from opcode import (hasconst, hasname, hasjrel, hasjabs, haslocal, hascompare,
hasfree, hasnargs, cmp_op, opname, opmap, HAVE_ARGUMENT,

View File

@@ -6,7 +6,7 @@ from .bucketlistresultset import BucketListResultSet
from .connection import S3Connection
from .key import Key
from typing import Any, Dict, Optional, Text, Type
from typing import Any, Dict, Optional, Text, Type, List
class S3WebsiteEndpointTranslate:
trans_region = ... # type: Dict[str, str]

View File

@@ -1,4 +1,4 @@
from typing import Any, AnyStr
from typing import Any, AnyStr, Set
from .base import SchemaEventTarget, DialectKWArgs
from .base import ColumnCollection

View File

@@ -1,4 +1,4 @@
from typing import List, Tuple, Optional, Callable, Union, IO, Any
from typing import List, Tuple, Optional, Callable, Union, IO, Any, Dict
from datetime import datetime
__all__ = ... # type: List[str]

View File

@@ -1,4 +1,4 @@
from typing import Optional, overload, Union
from typing import Optional, overload, Union, List
from datetime import date, datetime, timedelta
__all__ = ... # type: List[str]

View File

@@ -2,7 +2,7 @@
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.
from typing import Any, Optional, Union, IO, Tuple
from typing import Any, Optional, Union, IO, Tuple, List
import datetime
from ._common import tzname_in_python2 as tzname_in_python2, _tzinfo as _tzinfo
from ._common import tzrangebase as tzrangebase, enfold as enfold