Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ FactorizeThread
Class
FactorizeThread
example_code/item_068.py:77–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
75
from
threading
import
Thread
76
77
class
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))
84
85
86
print(
"Example 4"
)
Callers
1
item_068.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected