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

Method get

Lib/test/test_inspect/test_inspect.py:2675–2677  ·  view source on GitHub ↗
(self, key, default=None)

Source from the content-addressed store, hash-verified

2673
2674 class Custom(dict):
2675 def get(self, key, default=None):
2676 test.called = True
2677 super().get(key, default)
2678
2679 class Foo(object):
2680 a = 3

Callers 15

test_get_keyMethod · 0.45
test_get_missing_keyMethod · 0.45
fooMethod · 0.45
from_moduleMethod · 0.45
_from_subinterpMethod · 0.45
test_failing_reloadMethod · 0.45
get_globalMethod · 0.45
test_create_destroyMethod · 0.45
test_shareableMethod · 0.45

Calls 1

superClass · 0.85

Tested by

no test coverage detected