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

Method __init__

example_code/item_068.py:78–80  ·  view source on GitHub ↗
(self, number)

Source from the content-addressed store, hash-verified

76
77class FactorizeThread(Thread):
78 def __init__(self, number):
79 super().__init__()
80 self.number = number
81
82 def run(self):
83 self.factors = list(factorize(self.number))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected