parameters: (func)
return_statement: return Wrapper
docstring: Ignores deprecation warnings emitted while the decorated function runs.
docstring_summary: Ignores deprecation warnings emitted while the decorated function runs.
docstring_tokens: Ignores deprecation warnings emitted while the decorated function runs .
function: def CanUseDeprecated(func):
    """Ignores deprecation warnings emitted while the decorated function runs."""
  
    @functools.wraps(func)
    def Wrapper(*args, **kwargs):
      with warnings.catch_warnings():
        warnings.filterwarnings('ignore', category=DeprecationWarning)
        return func(*args, **kwargs)
    return Wrapper
function_tokens: def CanUseDeprecated ( func ) : @ functools . wraps ( func ) def Wrapper ( * args , * * kwargs ) : with warnings . catch_warnings ( ) : warnings . filterwarnings ( 'ignore' , category = DeprecationWarning ) return func ( * args , * * kwargs ) return Wrapper