code: def deprecated(func):
      """
      Send a warning regarding function's deprecation.
  
      :param func: input function
      :type func: function
      :return: inner function
      """
  
      @wraps(func)
      def inner_function(*args, **kwargs):
          """
          Inner function.
  
          :param args: non-keyword arguments
          :type args: list
          :param kwargs: keyword arguments
          :type kwargs: dict
          :return: modified function result
          """
          warn(
              DEPRECATION_WARNING.format(func.__name__),
              category=DeprecationWarning,
              stacklevel=2,
          )
          return func(*args, **kwargs)
  
      return inner_function
  
imports: from __future__ import division
  import sys
  import math
  import numpy
  import re
  from .pycm_param import *
  from .pycm_error import pycmMatrixError
  from warnings import warn
  from functools import wraps
label_desc: Use image node_id 36 for calling a global function with example usage: deprecated(func) and returns: inner_function, func