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