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

Method get

pattern/web/feed/feedparser.py:400–404  ·  view source on GitHub ↗
(self, key, default=None)

Source from the content-addressed store, hash-verified

398 has_key = __contains__
399
400 def get(self, key, default=None):
401 try:
402 return self.__getitem__(key)
403 except KeyError:
404 return default
405
406 def __setitem__(self, key, value):
407 key = self.keymap.get(key, key)

Callers 15

parseFunction · 0.95
__getitem__Method · 0.45
__setitem__Method · 0.45
unknown_starttagMethod · 0.45
unknown_endtagMethod · 0.45
handle_dataMethod · 0.45
popMethod · 0.45
pushContentMethod · 0.45
_mapToStandardPrefixMethod · 0.45
_getAttributeMethod · 0.45
_isBase64Method · 0.45
_itsAnHrefDamnItMethod · 0.45

Calls 1

__getitem__Method · 0.95

Tested by

no test coverage detected