MCPcopy Index your code
hub / github.com/python/cpython / get

Method get

Lib/collections/__init__.py:1206–1209  ·  view source on GitHub ↗
(self, key, default=None)

Source from the content-addressed store, hash-verified

1204 return key in self.data
1205
1206 def get(self, key, default=None):
1207 if key in self:
1208 return self[key]
1209 return default
1210
1211
1212 # Now, add the methods in dicts but not in MutableMapping

Callers 1

test_allMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_allMethod · 0.76