Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.test_iter.SequenceClass Class Reference

List of all members.

Public Member Functions

def __init__
def __getitem__

Public Attributes


Detailed Description

Definition at line 38 of file

Constructor & Destructor Documentation

def test.test_iter.SequenceClass.__init__ (   self,

Definition at line 39 of file

00040     def __init__(self, n):
        self.n = n

Here is the caller graph for this function:

Member Function Documentation

Definition at line 41 of file

00042     def __getitem__(self, i):
00043         if 0 <= i < self.n:
00044             return i
00045         else:
00046             raise IndexError
00048 # Main test suite

Member Data Documentation

Definition at line 40 of file

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