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

Method __init__

example_code/item_033.py:135–137  ·  view source on GitHub ↗
(self, group)

Source from the content-addressed store, hash-verified

133print("Example 9")
134class Sorter:
135 def __init__(self, group):
136 self.group = group
137 self.found = False
138
139 def __call__(self, x):
140 if x in self.group:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected