docs: def _pathdec(method):
  
          """
          Decorator that replaces string `path` argument with its tuple identifier.
  
          Parameters
          ----------
          method : function
              Function/method to decorate.
  
          Returns
          -------
          mod : function
              Function/method after decarotion.
          """
  
          @wraps(method) # functools.wraps makes docs autogeneration easy and proper for decorated functions.
          def mod(self, path, *args):
  
              try:
                  return method(self, self.__pathToTuple(path), *args)
  
              except YTFS.PathConvertError:
                  raise FuseOSError(errno.EINVAL)
  
          return mod