Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
pop
Method · 0.45
_save
Method · 0.45
_start_image
Method · 0.45
_start_textinput
Method · 0.45
_start_author
Method · 0.45
_start_contributor
Method · 0.45
_start_dc_contributor
Method · 0.45
_save_author
Method · 0.45
_save_contributor
Method · 0.45
_sync_author_detail
Method · 0.45
_start_cc_license
Method · 0.45
_end_creativecommons_license
Method · 0.45
Calls
1
has_key
Method · 0.95
Tested by
no test coverage detected