Back to index

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

List of all members.

Public Member Functions

def __init__
def append
def __repr__

Public Attributes

 values

Detailed Description

Definition at line 305 of file test_reprlib.py.


Constructor & Destructor Documentation

def test.test_reprlib.MyContainer.__init__ (   self,
  values 
)

Definition at line 307 of file test_reprlib.py.

00307 
00308     def __init__(self, values):
        self.values = list(values)

Here is the caller graph for this function:


Member Function Documentation

Reimplemented in test.test_reprlib.MyContainer2.

Definition at line 312 of file test_reprlib.py.

00312 
00313     def __repr__(self):
00314         return '<' + ', '.join(map(str, self.values)) + '>'

def test.test_reprlib.MyContainer.append (   self,
  value 
)

Definition at line 309 of file test_reprlib.py.

00309 
00310     def append(self, value):
        self.values.append(value)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 308 of file test_reprlib.py.


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