Module storage
source code
This file is part of the web2py Web Framework
Copyrighted by Massimo Di Pierro <mdipierro@cs.depaul.edu>
License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html)
Provides:
- List; like list but returns None instead of IndexOutOfBounds
- Storage; like dictionary allowing also for `obj.foo` for `obj['foo']`
|
List
Like a regular python list but a[i] if i is out of bounds return
None instead of IndexOutOfBounds
|
|
Storage
A Storage object is like a dictionary except `obj.foo` can be
used in addition to `obj['foo']`.
|
|
StorageList
like Storage but missing elements default to [] instead of
None
|
|
Settings
|
|
Messages
|