Feature or enhancement
It was deprecated in 3.13 and scheduled for removal in 3.15
|
def no_type_check_decorator(decorator): |
|
"""Decorator to give another decorator the @no_type_check effect. |
|
|
|
This wraps the decorator with something that wraps the decorated |
|
function in @no_type_check. |
|
""" |
|
import warnings |
|
warnings._deprecated("typing.no_type_check_decorator", remove=(3, 15)) |
|
@functools.wraps(decorator) |
|
def wrapped_decorator(*args, **kwds): |
|
func = decorator(*args, **kwds) |
|
func = no_type_check(func) |
|
return func |
|
|
|
return wrapped_decorator |
I will send a PR to remove it.
Feature or enhancement
It was deprecated in 3.13 and scheduled for removal in 3.15
cpython/Lib/typing.py
Lines 2613 to 2627 in 7016044
I will send a PR to remove it.