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


Detailed Description

Definition at line 1176 of file

Constructor & Destructor Documentation

def test.test_itertools.X.__init__ (   self,

Definition at line 1178 of file

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

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

Definition at line 1179 of file

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