Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ get
Method
get
Lib/collections/__init__.py:1165–1168 ·
view source on GitHub ↗
(self, key, default=None)
Source
from the content-addressed store, hash-verified
1163
return
key in self.data
1164
1165
def
get(self, key, default=None):
1166
if
key in self:
1167
return
self[key]
1168
return
default
1169
1170
1171
# Now, add the methods in dicts but not in MutableMapping
Callers
1
test_all
Method · 0.95
Calls
no outgoing calls
Tested by
1
test_all
Method · 0.76