Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_itertools.X Class Reference

List of all members.

Public Member Functions

def __init__
def __next__

Public Attributes

 seqn
 i

Detailed Description

Definition at line 1176 of file test_itertools.py.


Constructor & Destructor Documentation

def test.test_itertools.X.__init__ (   self,
  seqn 
)

Definition at line 1178 of file test_itertools.py.

01178 
01179     def __init__(self, seqn):
01180         self.seqn = seqn
        self.i = 0

Here is the caller graph for this function:


Member Function Documentation

Definition at line 1181 of file test_itertools.py.

01181 
01182     def __next__(self):
01183         if self.i >= len(self.seqn): raise StopIteration
01184         v = self.seqn[self.i]
01185         self.i += 1
01186         return v


Member Data Documentation

Definition at line 1180 of file test_itertools.py.

Definition at line 1179 of file test_itertools.py.


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