mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 20:01:29 +08:00
Switch usages of mypy_extensions.NoReturn over to typing.NoReturn. (#1942)
* Change mypy_extensions.NoReturn to typing.NoReturn everywhere.
This commit is contained in:
3
third_party/2/six/__init__.pyi
vendored
3
third_party/2/six/__init__.pyi
vendored
@@ -4,12 +4,11 @@ from __future__ import print_function
|
||||
|
||||
import types
|
||||
from typing import (
|
||||
Any, AnyStr, Callable, Dict, Iterable, Mapping, Optional,
|
||||
Any, AnyStr, Callable, Dict, Iterable, Mapping, NoReturn, Optional,
|
||||
Pattern, Tuple, Type, TypeVar, Union, overload, ValuesView, KeysView, ItemsView
|
||||
)
|
||||
import typing
|
||||
import unittest
|
||||
from mypy_extensions import NoReturn
|
||||
|
||||
# Exports
|
||||
from __builtin__ import unichr as unichr
|
||||
|
||||
2
third_party/3/six/__init__.pyi
vendored
2
third_party/3/six/__init__.pyi
vendored
@@ -11,6 +11,7 @@ from typing import (
|
||||
Iterable,
|
||||
KeysView,
|
||||
Mapping,
|
||||
NoReturn,
|
||||
Optional,
|
||||
Pattern,
|
||||
Tuple,
|
||||
@@ -23,7 +24,6 @@ from typing import (
|
||||
import types
|
||||
import typing
|
||||
import unittest
|
||||
from mypy_extensions import NoReturn
|
||||
|
||||
# Exports
|
||||
from io import StringIO as StringIO, BytesIO as BytesIO
|
||||
|
||||
Reference in New Issue
Block a user