-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed as duplicate of#133601
Labels
3.15new features, bugs and security fixesnew features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-typingtype-featureA feature request or enhancementA feature request or enhancement
Description
Feature or enhancement
It was deprecated in 3.13 and scheduled for removal in 3.15
Lines 2613 to 2627 in 7016044
| 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.
Metadata
Metadata
Assignees
Labels
3.15new features, bugs and security fixesnew features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-typingtype-featureA feature request or enhancementA feature request or enhancement