def _list_archive_members(archive):
if isinstance(archive, zipfile.ZipFile):<EOL><INDENT>return archive.infolist()<EOL><DEDENT>return archive.getmembers()<EOL>
:param archive:
    An archive from _open_archive()

:return:
    A list of info objects to be used with _info_name() and _extract_info()