web.storage

 

 

 

A Storage object is like a dictionary except `obj.foo` can be used in addition to `obj['foo']`

 

Methods inherited from __builtin__.dict

D.has_key(k) -> True if D has a key k, else False

D.get(k[,d]) -> D[k] if k in D, else d.  d defaults to None.

D.iteritems() -> an iterator over the (key, value) items of D

D.popitem() -> (k, v), remove and return some (key, value) pair as a 2-tuple; but raise KeyError if D is empty.

D.items() -> list of D's (key, value) pairs, as 2-tuples

 

 

Creative Commons license icon Creative Commons license icon