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

List of all members.

Public Member Functions

def __init__
def __len__
def __getitem__

Public Attributes


Detailed Description

Definition at line 9 of file

Constructor & Destructor Documentation

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

Definition at line 10 of file

    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,

Definition at line 12 of file

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

Reimplemented in test.string_tests.BadSeq2.

Definition at line 11 of file

    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

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