diff --git a/stdlib/3.4/asyncio/locks.pyi b/stdlib/3.4/asyncio/locks.pyi index 16cb02b30434..837c50c2d425 100644 --- a/stdlib/3.4/asyncio/locks.pyi +++ b/stdlib/3.4/asyncio/locks.pyi @@ -1,8 +1,8 @@ -from typing import Any, Callable, Generator, Iterable, Iterator, List, Type, TypeVar, Union, Optional +from typing import Any, Callable, Generator, Iterable, Iterator, List, Type, TypeVar, Union, Optional, Awaitable from .coroutines import coroutine from .events import AbstractEventLoop -from .futures import Future, Awaitable +from .futures import Future from types import TracebackType _T = TypeVar('_T') diff --git a/stdlib/3/json/__init__.pyi b/stdlib/3/json/__init__.pyi index ccd121dc9160..c68705d672f9 100644 --- a/stdlib/3/json/__init__.pyi +++ b/stdlib/3/json/__init__.pyi @@ -1,10 +1,10 @@ import sys from typing import Any, IO, Optional, Tuple, Callable, Dict, List, Union -from .decoder import JSONDecoder -from .encoder import JSONEncoder +from .decoder import JSONDecoder as JSONDecoder +from .encoder import JSONEncoder as JSONEncoder if sys.version_info >= (3, 5): - from .decoder import JSONDecodeError + from .decoder import JSONDecodeError as JSONDecodeError def dumps(obj: Any, skipkeys: bool = ..., diff --git a/third_party/2and3/click/globals.pyi b/third_party/2and3/click/globals.pyi index b5a113e5e257..816d393d8f2f 100644 --- a/third_party/2and3/click/globals.pyi +++ b/third_party/2and3/click/globals.pyi @@ -1,4 +1,5 @@ -from click.core import Optional, Context +from click.core import Context +from typing import Optional def get_current_context(silent: bool = False) -> Context: diff --git a/third_party/2and3/jinja2/utils.pyi b/third_party/2and3/jinja2/utils.pyi index 7a0f1a971224..7cff2cc9847e 100644 --- a/third_party/2and3/jinja2/utils.pyi +++ b/third_party/2and3/jinja2/utils.pyi @@ -1,6 +1,6 @@ from typing import Any, Optional -from markupsafe import Markup, escape, soft_unicode +from markupsafe import Markup as Markup, escape as escape, soft_unicode as soft_unicode missing = ... # type: Any internal_code = ... # type: Any