def _warn_deprecated(msg):
warnings.simplefilter('<STR_LIT>', DeprecationWarning)<EOL>warnings.warn(msg, category=DeprecationWarning, stacklevel=<NUM_LIT:2>)<EOL>warnings.simplefilter('<STR_LIT:default>', DeprecationWarning)<EOL>
Issue a deprecation warning