Module tarfile :: Class TarIter
[hide private]
[frames] | no frames]

_ClassType TarIter

Iterator Class.

for tarinfo in TarFile(...):
    suite...

Instance Methods [hide private]
 
__init__(self, tarfile)
Construct a TarIter object.
 
__iter__(self)
Return iterator object.
 
next(self)
Return the next item using TarFile's next() method.
Method Details [hide private]

next(self)

 

Return the next item using TarFile's next() method. When all members have been read, set TarFile as _loaded.