Skip to content

Add missing imports from typing #933

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stdlib/3.4/pathlib.pyi
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion stdlib/3/dis.pyi
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion third_party/2and3/boto/s3/bucket.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion third_party/2and3/sqlalchemy/sql/schema.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, AnyStr
from typing import Any, AnyStr, Set

from .base import SchemaEventTarget, DialectKWArgs
from .base import ColumnCollection
Expand Down
2 changes: 1 addition & 1 deletion third_party/3/dateutil/parser.pyi
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion third_party/3/dateutil/relativedelta.pyi
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion third_party/3/dateutil/tz/tz.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down