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

Method __init__

example_code/item_057.py:52–53  ·  view source on GitHub ↗
(self, members)

Source from the content-addressed store, hash-verified

50print("Example 1")
51class FrequencyList(list):
52 def __init__(self, members):
53 super().__init__(members)
54
55 def frequency(self):
56 counts = {}

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected