MCPcopy 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_codecFunction · 0.45
__replace__Method · 0.45
test_gc.pyFile · 0.45
__subclasscheck__Method · 0.45
assert_logMethod · 0.45
exec_moduleMethod · 0.45
verify_empty_attrsMethod · 0.45
verify_empty_nsattrsMethod · 0.45
verify_attrs_wattrMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected