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

@@ -2,7 +2,7 @@
from typing import (
TypeVar, Iterator, Iterable, overload, Container,
Sequence, MutableSequence, Mapping, MutableMapping, Tuple, List, Any, Dict, Callable, Generic,
Sequence, MutableSequence, Mapping, MutableMapping, NoReturn, Tuple, List, Any, Dict, Callable, Generic,
Set, AbstractSet, FrozenSet, MutableSet, Sized, Reversible, SupportsInt, SupportsFloat,
SupportsBytes, SupportsAbs, SupportsRound, IO, Union, ItemsView, KeysView, ValuesView,
ByteString, Optional, AnyStr, Type,
@@ -10,7 +10,6 @@ from typing import (
from abc import abstractmethod, ABCMeta
from types import TracebackType, CodeType
import sys
from mypy_extensions import NoReturn
# Note that names imported above are not automatically made visible via the
# implicit builtins import.