Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ ImplicitTrisect
Class
ImplicitTrisect
example_code/item_053.py:163–166 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
161
self.value /= 3
162
163
class
ImplicitTrisect(MyBaseClass):
164
def
__init__(self, value):
165
super().__init__(value)
166
self.value /= 3
167
168
assert ExplicitTrisect(9).value == 3
169
assert AutomaticTrisect(9).value == 3
Callers
1
item_053.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected