Package turbomail :: Module wrappedmessage :: Class ImmutableProxy
[hide private]
[frames] | no frames]

Class ImmutableProxy

source code

object --+
         |
        ImmutableProxy

This is a wrapper for email.Message so that a user can not modify the Message instance easily - actually modifications won't have any effect on the underlying message class but with this wrapper newbies won't fall into the trap.

Instance Methods [hide private]
 
__init__(self, obj)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__contains__(self, name) source code
 
__getattr__(self, name) source code
 
__getitem__(self, name) source code
 
__len__(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, obj)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)