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

Method get

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

Source from the content-addressed store, hash-verified

2070 self.called = False
2071 Counter.__init__(self, *args, **kwds)
2072 def get(self, key, default):
2073 self.called = True
2074 return Counter.get(self, key, default)
2075
2076class TestCounter(unittest.TestCase):
2077

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