docs: def __wrap(self, func):
          '''This decorator overrides the default arguments of a function.
  
          For each keyword argument in the function, the decorator first checks
          if the argument has been overridden by the caller, and uses that value instead if so.
  
          If not, the decorator consults the Preset object for an override value.
  
          If both of the above cases fail, the decorator reverts to the function's native
          default parameter value.
          '''
  
          def deffunc(*args, **kwargs):
              '''The decorated function'''
              # Get the list of function arguments
              if hasattr(inspect, 'signature'):
                  # Python 3.5
                  function_args = inspect.signature(func).parameters
  
              else:
                  function_args = inspect.getargspec(func).args
  
              # Construct a dict of those kwargs which appear in the function
              filtered_kwargs = kwargs.copy()
  
              # look at all relevant keyword arguments for this function
              for param in function_args:
  
                  if param in kwargs:
                      # Did the user override the default?
                      filtered_kwargs[param] = kwargs[param]
  
                  elif param in self._defaults:
                      # Do we have a clobbering value in the default dict?
                      filtered_kwargs[param] = self._defaults[param]
  
              # Call the function with the supplied args and the filtered kwarg dict
              return func(*args, **filtered_kwargs)  # pylint: disable=W0142
  
          wrapped = functools.update_wrapper(deffunc, func)
  
          # force-mangle the docstring here
          wrapped.__doc__ = ('WARNING: this function has been modified by the Presets '
                             'package.\nDefault parameter values described in the '
                             'documentation below may be inaccurate.\n\n{}'.format(wrapped.__doc__))
          return wrapped