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

Method add

web/utils.py:213–215  ·  view source on GitHub ↗
(self, n)

Source from the content-addressed store, hash-verified

211 """
212
213 def add(self, n):
214 self.setdefault(n, 0)
215 self[n] += 1
216
217 def most(self):
218 """Returns the keys with maximum count."""

Callers 2

uniqFunction · 0.80
__init__Method · 0.80

Calls 1

setdefaultMethod · 0.80

Tested by

no test coverage detected