Skip to content

Commit 6beead5

Browse files
committed
fix deprecation
1 parent f4e9f42 commit 6beead5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tkclasswiz/deprecation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ def is_deprecated(cls: type, parameter: str = None, type_: type = None):
7575
params = getattr(cls, "__wiz_deprecated_params__", set())
7676
return parameter in params
7777

78-
return type_ in getattr(cls, "__wiz_deprecated_param_types__", dict()).get(parameter, set())
78+
return is_deprecated(type_) or type_ in getattr(cls, "__wiz_deprecated_param_types__", dict()).get(parameter, set())

0 commit comments

Comments
 (0)