Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.seq_tests.IterNextOnly Class Reference

List of all members.

Public Member Functions

def __init__
def __next__

Public Attributes


Detailed Description

Definition at line 44 of file

Constructor & Destructor Documentation

def test.seq_tests.IterNextOnly.__init__ (   self,

Definition at line 46 of file

00047     def __init__(self, seqn):
00048         self.seqn = seqn
        self.i = 0

Here is the caller graph for this function:

Member Function Documentation

Definition at line 49 of file

00050     def __next__(self):
00051         if self.i >= len(self.seqn): raise StopIteration
00052         v = self.seqn[self.i]
00053         self.i += 1
00054         return v

Member Data Documentation

Definition at line 48 of file

Definition at line 47 of file

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