MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / setdefault

Method setdefault

tools/python-3.11.9-amd64/Lib/os.py:716–719  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

714 return dict(self)
715
716 def setdefault(self, key, value):
717 if key not in self:
718 self[key] = value
719 return self[key]
720
721 def __ior__(self, other):
722 self.update(other)

Callers 15

locale.pyFile · 0.45
translationFunction · 0.45
get_importerFunction · 0.45
AddPackagePathFunction · 0.45
__set_name__Method · 0.45
__new__Method · 0.45
_missing_Method · 0.45
register_optionflagFunction · 0.45
__call__Method · 0.45
registerMethod · 0.45
add_subparsersMethod · 0.45
_parse_known_argsMethod · 0.45

Calls

no outgoing calls

Tested by 1

register_optionflagFunction · 0.36