Back to index

moin  1.9.0~rc2
Classes | Functions | Variables
MoinMoin.support.werkzeug.datastructures Namespace Reference

Classes

class  ImmutableListMixin
class  ImmutableList
class  ImmutableDictMixin
class  ImmutableMultiDictMixin
class  UpdateDictMixin
class  TypeConversionDict
class  ImmutableTypeConversionDict
class  MultiDict
class  Headers
class  ImmutableHeadersMixin
class  EnvironHeaders
class  CombinedMultiDict
class  FileMultiDict
class  ImmutableDict
class  ImmutableMultiDict
class  Accept
class  MIMEAccept
class  LanguageAccept
class  CharsetAccept
class  _CacheControl
class  RequestCacheControl
class  ResponseCacheControl
class  CacheControl
class  CallbackDict
class  HeaderSet
class  ETags
class  Authorization
class  WWWAuthenticate

Functions

def is_immutable
def cache_property

Variables

tuple _locale_delim_re = re.compile(r'[_-]')

Function Documentation

def MoinMoin.support.werkzeug.datastructures.cache_property (   key,
  empty,
  type 
)
Return a new property object for a cache header.  Useful if you
want to add support for a cache extension in a subclass.

Definition at line 1331 of file datastructures.py.

01331 
01332 def cache_property(key, empty, type):
01333     """Return a new property object for a cache header.  Useful if you
01334     want to add support for a cache extension in a subclass."""
01335     return property(lambda x: x._get_cache_value(key, empty, type),
01336                     lambda x, v: x._set_cache_value(key, v, type),
01337                     lambda x: x._del_cache_value(key),
01338                     'accessor for %r' % key)
01339 

Definition at line 20 of file datastructures.py.

00020 
00021 def is_immutable(self):
00022     raise TypeError('%r objects are immutable' % self.__class__.__name__)
00023 

Here is the caller graph for this function:


Variable Documentation

Definition at line 17 of file datastructures.py.