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

Method __setitem__

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

Source from the content-addressed store, hash-verified

951 def __setattr__(self, k, v):
952 dict.__setitem__(self, u(k), v is not None and u(v) or u"") # Store strings as unicode.
953 def __setitem__(self, k, v):
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))

Callers 3

__setattr__Method · 0.45
searchMethod · 0.45
searchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected