Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.py
File · 0.45
translation
Function · 0.45
get_importer
Function · 0.45
AddPackagePath
Function · 0.45
__set_name__
Method · 0.45
__new__
Method · 0.45
_missing_
Method · 0.45
register_optionflag
Function · 0.45
__call__
Method · 0.45
register
Method · 0.45
add_subparsers
Method · 0.45
_parse_known_args
Method · 0.45
Calls
no outgoing calls
Tested by
1
register_optionflag
Function · 0.36