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

Method update

pattern/web/__init__.py:958–961  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

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)
961 dict.update(self, [(u(k), u(v)) for k, v in map.items()])
962
963 def __repr__(self):
964 return "Result(%s)" % dict.__repr__(self)

Callers

nothing calls this directly

Calls 2

updateMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected