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

Method __getitem__

pattern/web/__init__.py:949–950  ·  view source on GitHub ↗
(self, k)

Source from the content-addressed store, hash-verified

947 def __getattr__(self, k):
948 return self.get(k, u"")
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):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected