(self, pathname)
return _get_data(self.archive, toc_entry)
get_data(pathname) -> string with file data.

        Return the data associated with 'pathname'. Raise OSError if
        the file wasn't found.
get_data(pathname) -> string with file data.
get_data ( pathname ) - > string with file data .
def get_data(self, pathname):
        """get_data(pathname) -> string with file data.

        Return the data associated with 'pathname'. Raise OSError if
        the file wasn't found.
        """
        if alt_path_sep:
            pathname = pathname.replace(alt_path_sep, path_sep)

        key = pathname
        if pathname.startswith(self.archive + path_sep):
            key = pathname[len(self.archive + path_sep):]

        try:
            toc_entry = self._files[key]
        except KeyError:
            raise OSError(0, '', key)
        return _get_data(self.archive, toc_entry)
def get_data ( self , pathname ) : if alt_path_sep : pathname = pathname . replace ( alt_path_sep , path_sep ) key = pathname if pathname . startswith ( self . archive + path_sep ) : key = pathname [ len ( self . archive + path_sep ) : ] try : toc_entry = self . _files [ key ] except KeyError : raise OSError ( 0 , '' , key ) return _get_data ( self . archive , toc_entry )