1 2 3 4 5
import warnings warnings.warn(DeprecationWarning(f'{__name__} is deprecated')) casefold = str.casefold