Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Static Private Attributes Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

List of all members.

Public Member Functions

def __init__
def copy
def __copy__

Public Attributes


Static Private Attributes

tuple __slots__ = ('modified',)

Detailed Description

Definition at line 82 of file

Constructor & Destructor Documentation

Definition at line 85 of file

00086     def __init__(self, *args, **kwargs):
00087         def on_update(self):
00088             self.modified = True
00089         self.modified = False
00090         CallbackDict.__init__(self, on_update=on_update)
00091         dict.update(self, *args, **kwargs)

Member Function Documentation

Definition at line 102 of file

00103     def __copy__(self):
00104         return self.copy()

Here is the call graph for this function:

Create a flat copy of the dict.

Definition at line 92 of file

00093     def copy(self):
00094         """Create a flat copy of the dict."""
00095         missing = object()
00096         result = object.__new__(self.__class__)
00097         for name in self.__slots__:
00098             val = getattr(self, name, missing)
00099             if val is not missing:
00100                 setattr(result, name, val)
00101         return result

Here is the caller graph for this function:

Member Data Documentation

Reimplemented in

Definition at line 83 of file

Definition at line 87 of file

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