Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_set.I Class Reference

List of all members.

Public Member Functions

def __init__
def __iter__
def __next__

Public Attributes

 seqn
 i

Detailed Description

Definition at line 1557 of file test_set.py.


Constructor & Destructor Documentation

def test.test_set.I.__init__ (   self,
  seqn 
)

Definition at line 1559 of file test_set.py.

01559 
01560     def __init__(self, seqn):
01561         self.seqn = seqn
        self.i = 0

Here is the caller graph for this function:


Member Function Documentation

def test.test_set.I.__iter__ (   self)

Definition at line 1562 of file test_set.py.

01562 
01563     def __iter__(self):
        return self
def test.test_set.I.__next__ (   self)

Definition at line 1564 of file test_set.py.

01564 
01565     def __next__(self):
01566         if self.i >= len(self.seqn): raise StopIteration
01567         v = self.seqn[self.i]
01568         self.i += 1
01569         return v


Member Data Documentation

Definition at line 1561 of file test_set.py.

Definition at line 1560 of file test_set.py.


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