docs: def delete(self, path, recursive=True):
          """
          Delete ``path``.
  
          :type path: str
          :param path: the path of the file or directory
          :type recursive: bool
          :param recursive: if ``path`` is a directory, delete it recursively
            when :obj:`True`
          :raises: :exc:`~exceptions.IOError` when ``recursive`` is
            :obj:`False` and directory is non-empty
          """
          _complain_ifclosed(self.closed)
          return self.fs.delete(path, recursive)