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

Method __init__

example_code/item_025.py:117–118  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

115
116class SortedDict(MutableMapping):
117 def __init__(self):
118 self.data = {}
119
120 def __getitem__(self, key):
121 return self.data[key]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected