Skip to content

Commit 22c0353

Browse files
ilevkivskyigvanrossum
authored andcommitted
Add missing imports from typing (#933)
1 parent f869a5d commit 22c0353

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

stdlib/3.4/pathlib.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Stubs for pathlib (Python 3.4)
22

3-
from typing import Any, Generator, IO, Optional, Sequence, Tuple, Type, TypeVar, Union
3+
from typing import Any, Generator, IO, Optional, Sequence, Tuple, Type, TypeVar, Union, List
44
import os
55
import sys
66

stdlib/3/dis.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import List, Union, Iterator, Tuple, Optional, Any, IO, NamedTuple
1+
from typing import List, Union, Iterator, Tuple, Optional, Any, IO, NamedTuple, Dict
22

33
from opcode import (hasconst, hasname, hasjrel, hasjabs, haslocal, hascompare,
44
hasfree, hasnargs, cmp_op, opname, opmap, HAVE_ARGUMENT,

third_party/2and3/boto/s3/bucket.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ from .bucketlistresultset import BucketListResultSet
66
from .connection import S3Connection
77
from .key import Key
88

9-
from typing import Any, Dict, Optional, Text, Type
9+
from typing import Any, Dict, Optional, Text, Type, List
1010

1111
class S3WebsiteEndpointTranslate:
1212
trans_region = ... # type: Dict[str, str]

third_party/2and3/sqlalchemy/sql/schema.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Any, AnyStr
1+
from typing import Any, AnyStr, Set
22

33
from .base import SchemaEventTarget, DialectKWArgs
44
from .base import ColumnCollection

third_party/3/dateutil/parser.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import List, Tuple, Optional, Callable, Union, IO, Any
1+
from typing import List, Tuple, Optional, Callable, Union, IO, Any, Dict
22
from datetime import datetime
33

44
__all__ = ... # type: List[str]

third_party/3/dateutil/relativedelta.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Optional, overload, Union
1+
from typing import Optional, overload, Union, List
22
from datetime import date, datetime, timedelta
33

44
__all__ = ... # type: List[str]

third_party/3/dateutil/tz/tz.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# NOTE: This dynamically typed stub was automatically generated by stubgen.
44

5-
from typing import Any, Optional, Union, IO, Tuple
5+
from typing import Any, Optional, Union, IO, Tuple, List
66
import datetime
77
from ._common import tzname_in_python2 as tzname_in_python2, _tzinfo as _tzinfo
88
from ._common import tzrangebase as tzrangebase, enfold as enfold

0 commit comments

Comments
 (0)