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

Method __setattr__

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

Source from the content-addressed store, hash-verified

949 def __getitem__(self, k):
950 return self.get(k, u"")
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

Callers

nothing calls this directly

Calls 1

__setitem__Method · 0.45

Tested by

no test coverage detected