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

Method __init__

example_code/item_070.py:88–94  ·  view source on GitHub ↗
(self, func, in_queue, out_queue)

Source from the content-addressed store, hash-verified

86
87class Worker(Thread):
88 def __init__(self, func, in_queue, out_queue):
89 super().__init__()
90 self.func = func
91 self.in_queue = in_queue
92 self.out_queue = out_queue
93 self.polled_count = 0
94 self.work_done = 0
95
96
97 print("Example 6")

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected