Docs for cache.__dict__

[ Python Tutorial ] [ Python Libraries ] [ web2py epydoc ]

Description


<type 'dict'>










dict() -> new empty dictionary
dict(mapping) -> new dictionary initialized from a mapping object's
(key, value) pairs
dict(iterable) -> new dictionary initialized as if via:
d = {}
for k, v in iterable:
d[k] = v
dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)


Attributes


cache.__dict__.__class__ <type 'type'> extends (<type 'object'>,) belongs to class <type 'type'>
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2)

cache.__dict__.__cmp__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__cmp__(y) <==> cmp(x,y)

cache.__dict__.__contains__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.__contains__(k) -> True if D has a key k, else False

cache.__dict__.__delattr__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__delattr__('name') <==> del x.name

cache.__dict__.__delitem__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__delitem__(y) <==> del x[y]

cache.__dict__.__doc__ <type 'str'> belongs to class <type 'str'>
str(object='') -> string Return a nice string representation of the object. If the argument is a string, the return value is the same object.

cache.__dict__.__eq__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__eq__(y) <==> x==y

cache.__dict__.__format__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
default object formatter

cache.__dict__.__ge__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__ge__(y) <==> x>=y

cache.__dict__.__getattribute__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__getattribute__('name') <==> x.name

cache.__dict__.__getitem__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
x.__getitem__(y) <==> x[y]

cache.__dict__.__gt__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__gt__(y) <==> x>y

cache.__dict__.__hash__ <type 'NoneType'> belongs to class <type 'NoneType'>

cache.__dict__.__init__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__init__(...) initializes x; see help(type(x)) for signature

cache.__dict__.__iter__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__iter__() <==> iter(x)

cache.__dict__.__le__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__le__(y) <==> x<=y

cache.__dict__.__len__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__len__() <==> len(x)

cache.__dict__.__lt__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__lt__(y) <==> x<y

cache.__dict__.__ne__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__ne__(y) <==> x!=y

cache.__dict__.__new__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
T.__new__(S, ...) -> a new object with type S, a subtype of T

cache.__dict__.__reduce__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
helper for pickle

cache.__dict__.__reduce_ex__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
helper for pickle

cache.__dict__.__repr__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__repr__() <==> repr(x)

cache.__dict__.__setattr__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__setattr__('name', value) <==> x.name = value

cache.__dict__.__setitem__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__setitem__(i, y) <==> x[i]=y

cache.__dict__.__sizeof__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.__sizeof__() -> size of D in memory, in bytes

cache.__dict__.__str__ <type 'method-wrapper'> belongs to class <type 'method-wrapper'>
x.__str__() <==> str(x)

cache.__dict__.__subclasshook__ <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
Abstract classes can override this to customize issubclass(). This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

cache.__dict__.clear <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.clear() -> None. Remove all items from D.

cache.__dict__.copy <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.copy() -> a shallow copy of D

cache.__dict__.fromkeys <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
dict.fromkeys(S[,v]) -> New dict with keys from S and values equal to v. v defaults to None.

cache.__dict__.get <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None.

cache.__dict__.has_key <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.has_key(k) -> True if D has a key k, else False

cache.__dict__.items <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.items() -> list of D's (key, value) pairs, as 2-tuples

cache.__dict__.iteritems <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.iteritems() -> an iterator over the (key, value) items of D

cache.__dict__.iterkeys <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.iterkeys() -> an iterator over the keys of D

cache.__dict__.itervalues <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.itervalues() -> an iterator over the values of D

cache.__dict__.keys <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.keys() -> list of D's keys

cache.__dict__.pop <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.pop(k[,d]) -> v, remove specified key and return the corresponding value. If key is not found, d is returned if given, otherwise KeyError is raised

cache.__dict__.popitem <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.popitem() -> (k, v), remove and return some (key, value) pair as a 2-tuple; but raise KeyError if D is empty.

cache.__dict__.setdefault <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D

cache.__dict__.update <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.update([E, ]**F) -> None. Update D from dict/iterable E and F. If E present and has a .keys() method, does: for k in E: D[k] = E[k] If E present and lacks .keys() method, does: for (k, v) in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]

cache.__dict__.values <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.values() -> list of D's values

cache.__dict__.viewitems <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.viewitems() -> a set-like object providing a view on D's items

cache.__dict__.viewkeys <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.viewkeys() -> a set-like object providing a view on D's keys

cache.__dict__.viewvalues <type 'builtin_function_or_method'> belongs to class <type 'builtin_function_or_method'>
D.viewvalues() -> an object providing a view on D's values