MCPcopy Index your code
hub / github.com/RustPython/RustPython / get

Method get

Lib/test/test_collections.py:2057–2059  ·  view source on GitHub ↗
(self, key, default)

Source from the content-addressed store, hash-verified

2055 self.called = False
2056 Counter.__init__(self, *args, **kwds)
2057 def get(self, key, default):
2058 self.called = True
2059 return Counter.get(self, key, default)
2060
2061class TestCounter(unittest.TestCase):
2062

Callers 4

test_dict_missingMethod · 0.45
test_basicsMethod · 0.45
test_missingMethod · 0.45
test_new_childMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected