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,12 +4,11 @@
# based on http://docs.python.org/3.2/library/sys.html
from typing import (
List, Sequence, Any, Dict, Tuple, TextIO, overload, Optional, Union,
TypeVar, Callable, Type,
List, NoReturn, Sequence, Any, Dict, Tuple, TextIO, overload, Optional,
Union, TypeVar, Callable, Type,
)
import sys
from types import FrameType, TracebackType
from mypy_extensions import NoReturn
_T = TypeVar('_T')