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

Method setdefault

module/lib/feedparser.py:333–336  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

331 return default
332
333 def setdefault(self, key, value):
334 if not self.has_key(key):
335 self[key] = value
336 return self[key]
337
338 def has_key(self, key):
339 try:

Callers 15

popMethod · 0.45
_saveMethod · 0.45
_start_imageMethod · 0.45
_start_textinputMethod · 0.45
_start_authorMethod · 0.45
_start_contributorMethod · 0.45
_start_dc_contributorMethod · 0.45
_save_authorMethod · 0.45
_save_contributorMethod · 0.45
_sync_author_detailMethod · 0.45
_start_cc_licenseMethod · 0.45

Calls 1

has_keyMethod · 0.95

Tested by

no test coverage detected