def list(self, verbose=True):
self._check()<EOL>for tarinfo in self:<EOL><INDENT>if verbose:<EOL><INDENT>print(filemode(tarinfo.mode), end='<STR_LIT:U+0020>')<EOL>print("<STR_LIT>" % (tarinfo.uname or tarinfo.uid,<EOL>tarinfo.gname or tarinfo.gid), end='<STR_LIT:U+0020>')<EOL>if tarinfo.ischr() or tarinfo.isblk():<EOL><INDENT>print("<STR_LIT>" % ("<STR_LIT>"% (tarinfo.devmajor, tarinfo.devminor)), end='<STR_LIT:U+0020>')<EOL><DEDENT>else:<EOL><INDENT>print("<STR_LIT>" % tarinfo.size, end='<STR_LIT:U+0020>')<EOL><DEDENT>print("<STR_LIT>"% time.localtime(tarinfo.mtime)[:<NUM_LIT:6>], end='<STR_LIT:U+0020>')<EOL><DEDENT>print(tarinfo.name + ("<STR_LIT:/>" if tarinfo.isdir() else "<STR_LIT>"), end='<STR_LIT:U+0020>')<EOL>if verbose:<EOL><INDENT>if tarinfo.issym():<EOL><INDENT>print("<STR_LIT>", tarinfo.linkname, end='<STR_LIT:U+0020>')<EOL><DEDENT>if tarinfo.islnk():<EOL><INDENT>print("<STR_LIT>", tarinfo.linkname, end='<STR_LIT:U+0020>')<EOL><DEDENT><DEDENT>print()<EOL><DEDENT>
Print a table of contents to sys.stdout. If `verbose' is False, only
           the names of the members are printed. If it is True, an `ls -l'-like
           output is produced.