MCPcopy Index your code
hub / github.com/clips/pattern / setdefault

Method setdefault

pattern/web/__init__.py:956–957  ·  view source on GitHub ↗
(self, k, v)

Source from the content-addressed store, hash-verified

954 dict.__setitem__(self, u(k), v is not None and u(v) or u"")
955
956 def setdefault(self, k, v):
957 dict.setdefault(self, u(k), u(v))
958 def update(self, *args, **kwargs):
959 map = dict()
960 map.update(*args, **kwargs)

Callers 15

searchMethod · 0.45
translateMethod · 0.45
identifyMethod · 0.45
searchMethod · 0.45
searchMethod · 0.45
searchMethod · 0.45
answerMethod · 0.45
searchMethod · 0.45
trendsMethod · 0.45
__init__Method · 0.45
listMethod · 0.45
searchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected