code: def get_name(self, func):
          '''
          Get the name to reference a function by
  
          :param func: function to get the name of
          :type func: callable
          '''
          if hasattr(func, 'name'):
              return func.name
  
          return '%s.%s' % (
              func.__module__,
              func.__name__
          f get_name(self, func):
          '''
          Get the name to reference a function by
  
          :param func: function to get the name of
          :type func: callable
          '''
          if hasattr(func, 'name'):
              return func.name
  
          return '%s.%s' % (
              func.__module__,
              func.__name__
          )
docs: Get the name to reference a function by
  
          :param func: function to get the name of
          :type func: callable