Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_heapq.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 256 of file test_heapq.py.


Constructor & Destructor Documentation

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

Definition at line 258 of file test_heapq.py.

00258 
00259     def __init__(self, seqn):
00260         self.seqn = seqn
        self.i = 0

Here is the caller graph for this function:


Member Function Documentation

Definition at line 261 of file test_heapq.py.

00261 
00262     def __iter__(self):
        return self

Definition at line 263 of file test_heapq.py.

00263 
00264     def __next__(self):
00265         if self.i >= len(self.seqn): raise StopIteration
00266         v = self.seqn[self.i]
00267         self.i += 1
00268         return v


Member Data Documentation

Definition at line 260 of file test_heapq.py.

Definition at line 259 of file test_heapq.py.


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