OpenQuizz
Une application de gestion des contenus pédagogiques
TarIter Class Reference
Inheritance diagram for TarIter:
Collaboration diagram for TarIter:

Public Member Functions

def __init__ (self, tarfile)
 
def __iter__ (self)
 
def __next__ (self)
 

Data Fields

 tarfile
 
 index
 

Static Public Attributes

 next
 

Detailed Description

Iterator Class.

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

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  tarfile 
)
Construct a TarIter object.

Member Function Documentation

◆ __iter__()

def __iter__ (   self)
Return iterator object.

◆ __next__()

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

Field Documentation

◆ index

index

◆ next

next
static

◆ tarfile

tarfile

The documentation for this class was generated from the following file: