MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / CountMissing

Class CountMissing

example_code/item_048.py:101–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100print("Example 6")
101class CountMissing:
102 def __init__(self):
103 self.added = 0
104
105 def missing(self):
106 self.added += 1
107 return 0
108
109
110print("Example 7")

Callers 1

item_048.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected