Skip to content

Commit 8a42155

Browse files
committed
Keep typing_extensions no_type_check_decorator export
1 parent e073292 commit 8a42155

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

stdlib/typing_extensions.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,7 @@ _TC = _TypeVar("_TC", bound=type[object])
209209
_T_co = _TypeVar("_T_co", covariant=True) # Any type covariant containers.
210210
_T_contra = _TypeVar("_T_contra", contravariant=True)
211211

212-
if sys.version_info < (3, 15):
213-
def no_type_check_decorator(decorator: _F) -> _F: ...
212+
def no_type_check_decorator(decorator: _F) -> _F: ...
214213

215214
# Do not import (and re-export) Protocol or runtime_checkable from
216215
# typing module because type checkers need to be able to distinguish

0 commit comments

Comments
 (0)