Switch usages of mypy_extensions.NoReturn over to typing.NoReturn. (#1942)

* Change mypy_extensions.NoReturn to typing.NoReturn everywhere.
This commit is contained in:
rchen152
2018-03-05 12:42:29 -08:00
committed by Matthias Kramm
parent f91163d729
commit 38dc8f5a6a
18 changed files with 29 additions and 39 deletions

View File

@@ -4,10 +4,9 @@
from io import TextIOWrapper as _TextIOWrapper
import sys
from typing import (
Mapping, MutableMapping, Dict, List, Any, Tuple, IO, Iterable, Iterator, overload, Union, AnyStr,
Mapping, MutableMapping, Dict, List, Any, Tuple, IO, Iterable, Iterator, NoReturn, overload, Union, AnyStr,
Optional, Generic, Set, Callable, Text, Sequence, NamedTuple, TypeVar, ContextManager
)
from mypy_extensions import NoReturn
# Re-exported names from other modules.
from builtins import OSError as error