Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
test.string_tests.Sequence Class Reference
Inheritance diagram for test.string_tests.Sequence:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def __len__
def __getitem__

Public Attributes

 seq

Detailed Description

Definition at line 9 of file string_tests.py.


Constructor & Destructor Documentation

def test.string_tests.Sequence.__init__ (   self,
  seq = 'wxyz' 
)

Definition at line 10 of file string_tests.py.

00010 
    def __init__(self, seq='wxyz'): self.seq = seq

Here is the caller graph for this function:


Member Function Documentation

def test.string_tests.Sequence.__getitem__ (   self,
  i 
)

Definition at line 12 of file string_tests.py.

00012 
00013     def __getitem__(self, i): return self.seq[i]

Reimplemented in test.string_tests.BadSeq2.

Definition at line 11 of file string_tests.py.

00011 
    def __len__(self): return len(self.seq)

Member Data Documentation

Reimplemented in test.string_tests.BadSeq2, and test.string_tests.BadSeq1.

Definition at line 10 of file string_tests.py.


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