add deprecation comment to mypy_extensions (#1943)

This commit is contained in:
Matthias Kramm
2018-03-05 18:51:14 -08:00
committed by Jelle Zijlstra
parent 38dc8f5a6a
commit 6c30806d07

View File

@@ -14,4 +14,4 @@ def KwArg(type: _T = ...) -> _T: ...
# Return type that indicates a function does not return.
# This type is equivalent to the None type, but the no-op Union is necessary to
# distinguish the None type from the None value.
NoReturn = Union[None]
NoReturn = Union[None] # Deprecated: Use typing.NoReturn instead.