Back to index

enigmail  1.4.3
Public Member Functions | Public Attributes
runtests.ParentDict Class Reference

List of all members.

Public Member Functions

def __init__
def __setitem__
def __getitem__

Public Attributes

 d
 parent

Detailed Description

Definition at line 23 of file runtests.py.


Constructor & Destructor Documentation

def runtests.ParentDict.__init__ (   self,
  parent,
  kwargs 
)

Definition at line 24 of file runtests.py.

00024 
00025     def __init__(self, parent, **kwargs):
00026         self.d = dict(kwargs)
00027         self.parent = parent


Member Function Documentation

def runtests.ParentDict.__getitem__ (   self,
  k 
)

Definition at line 31 of file runtests.py.

00031 
00032     def __getitem__(self, k):
00033         if k in self.d:
00034             return self.d[k]
00035 
00036         return self.parent[k]

def runtests.ParentDict.__setitem__ (   self,
  k,
  v 
)

Definition at line 28 of file runtests.py.

00028 
00029     def __setitem__(self, k, v):
00030         self.d[k] = v


Member Data Documentation

Definition at line 25 of file runtests.py.

Definition at line 26 of file runtests.py.


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