Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ get
Method
get
Lib/test/test_patma.py:2664–2665 ·
view source on GitHub ↗
(key, default=None)
Source
from the content-addressed store, hash-verified
2662
class
C(dict):
2663
@staticmethod
2664
def
get(key, default=None):
2665
return
'bar'
2666
2667
x = C({
'foo'
:
'bar'
})
2668
match x:
Callers
15
__getitem__
Method · 0.95
_get_test_codec
Function · 0.45
test_cache_per_thread_isolation
Method · 0.45
__replace__
Method · 0.45
test_gc.py
File · 0.45
__subclasscheck__
Method · 0.45
mutating
Method · 0.45
test_reverse_import_mapping
Method · 0.45
assert_log
Method · 0.45
test_keys
Method · 0.45
test_empty_value
Method · 0.45
test_source_date_epoch
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected