Back to index

moin  1.9.0~rc2
Public Member Functions | Static Private Attributes
MoinMoin.support.werkzeug.datastructures.ImmutableDict Class Reference
Inheritance diagram for MoinMoin.support.werkzeug.datastructures.ImmutableDict:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.support.werkzeug.datastructures.ImmutableDict:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def copy
def __copy__
def setdefault
def update
def pop
def popitem
def __setitem__
def __delitem__
def clear

Static Private Attributes

tuple __repr__ = _proxy_repr(dict)

Detailed Description

An immutable :class:`dict`.

.. versionadded:: 0.5

Definition at line 1100 of file datastructures.py.


Member Function Documentation

Definition at line 1115 of file datastructures.py.

01115 
01116     def __copy__(self):
01117         return self
01118 

Definition at line 102 of file datastructures.py.

00102 
00103     def __delitem__(self, key):
00104         is_immutable(self)

Here is the call graph for this function:

Here is the caller graph for this function:

def MoinMoin.support.werkzeug.datastructures.ImmutableDictMixin.__setitem__ (   self,
  key,
  value 
) [inherited]

Definition at line 99 of file datastructures.py.

00099 
00100     def __setitem__(self, key, value):
00101         is_immutable(self)

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 105 of file datastructures.py.

00105 
00106     def clear(self):
00107         is_immutable(self)
00108 

Here is the call graph for this function:

Return a shallow mutable copy of this object.  Keep in mind that
the standard library's :func:`copy` funciton is a no-op for this class
like for any other python immutable type (eg: :class:`tuple`).

Definition at line 1108 of file datastructures.py.

01108 
01109     def copy(self):
01110         """Return a shallow mutable copy of this object.  Keep in mind that
01111         the standard library's :func:`copy` funciton is a no-op for this class
01112         like for any other python immutable type (eg: :class:`tuple`).
01113         """
01114         return dict(self)

def MoinMoin.support.werkzeug.datastructures.ImmutableDictMixin.pop (   self,
  key,
  default = None 
) [inherited]

Definition at line 93 of file datastructures.py.

00093 
00094     def pop(self, key, default=None):
00095         is_immutable(self)

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 96 of file datastructures.py.

00096 
00097     def popitem(self):
00098         is_immutable(self)

Here is the call graph for this function:

def MoinMoin.support.werkzeug.datastructures.ImmutableDictMixin.setdefault (   self,
  key,
  default = None 
) [inherited]

Definition at line 87 of file datastructures.py.

00087 
00088     def setdefault(self, key, default=None):
00089         is_immutable(self)

Here is the call graph for this function:

def MoinMoin.support.werkzeug.datastructures.ImmutableDictMixin.update (   self,
  args,
  kwargs 
) [inherited]

Definition at line 90 of file datastructures.py.

00090 
00091     def update(self, *args, **kwargs):
00092         is_immutable(self)

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

tuple MoinMoin.support.werkzeug.datastructures.ImmutableDict.__repr__ = _proxy_repr(dict) [static, private]

Definition at line 1106 of file datastructures.py.


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