MCPcopy Index your code
hub / github.com/webpy/webpy / get

Method get

web/form.py:138–142  ·  view source on GitHub ↗
(self, i, default=None)

Source from the content-addressed store, hash-verified

136 raise AttributeError(name)
137
138 def get(self, i, default=None):
139 try:
140 return self[i]
141 except KeyError:
142 return default
143
144 def _get_d(self): # @@ should really be form.attr, no?
145 return utils.storage([(i.name, i.get_value()) for i in self.inputs])

Callers 15

__init__Method · 0.45
__init__Method · 0.45
_getctxMethod · 0.45
__init__Method · 0.45
modnameMethod · 0.45
_unloadMethod · 0.45
loadMethod · 0.45
_delegateMethod · 0.45
internalerrorMethod · 0.45
__init__Method · 0.45
run_wsgi_appMethod · 0.45

Calls

no outgoing calls

Tested by 1