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

Method __init__

Lib/test/test_threading.py:69–70  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

67# A trivial mutable counter.
68class Counter(object):
69 def __init__(self):
70 self.value = 0
71 def inc(self):
72 self.value += 1
73 def dec(self):

Callers 3

test_basicsMethod · 0.95
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected