MCPcopy Index your code
hub / github.com/pyload/pyload / has_key

Method has_key

module/lib/feedparser.py:338–342  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

336 return self[key]
337
338 def has_key(self, key):
339 try:
340 return hasattr(self, key) or UserDict.__contains__(self, key)
341 except AttributeError:
342 return False
343 # This alias prevents the 2to3 tool from changing the semantics of the
344 # __contains__ function below and exhausting the maximum recursion depth
345 __has_key = has_key

Callers 15

getMethod · 0.95
setdefaultMethod · 0.95
__getitem__Method · 0.45
unknown_starttagMethod · 0.45
unknown_endtagMethod · 0.45
trackNamespaceMethod · 0.45
_cdf_commonMethod · 0.45
_getContextMethod · 0.45
_start_linkMethod · 0.45
_end_guidMethod · 0.45
_start_descriptionMethod · 0.45
_start_generatorMethod · 0.45

Calls 1

__contains__Method · 0.45

Tested by

no test coverage detected