Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ ExplicitTrisect
Class
ExplicitTrisect
example_code/item_053.py:149–152 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
147
148
print(
"Example 12"
)
149
class
ExplicitTrisect(MyBaseClass):
150
def
__init__(self, value):
151
super(ExplicitTrisect, self).__init__(value)
152
self.value /= 3
153
154
assert ExplicitTrisect(9).value == 3
155
Callers
1
item_053.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected