Back to index

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

List of all members.

Public Member Functions

def __init__
def __next__

Public Attributes


Detailed Description

Definition at line 35 of file

Constructor & Destructor Documentation

def test.test_enumerate.X.__init__ (   self,

Definition at line 37 of file

00038     def __init__(self, seqn):
00039         self.seqn = seqn
        self.i = 0

Here is the caller graph for this function:

Member Function Documentation

Definition at line 40 of file

00041     def __next__(self):
00042         if self.i >= len(self.seqn): raise StopIteration
00043         v = self.seqn[self.i]
00044         self.i += 1
00045         return v

Member Data Documentation

Definition at line 39 of file

Definition at line 38 of file

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