code: def open(self, *args, **kwargs):
          
          with io_error_compat():
              return io.open(self, *args, **kwargs)
docs: Open this file and return a corresponding :class:`file` object.
  
          Keyword arguments work as in :func:`io.open`.  If the file cannot be
          opened, an :class:`~exceptions.OSError` is raised.