MCPcopy 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
163class ImplicitTrisect(MyBaseClass):
164 def __init__(self, value):
165 super().__init__(value)
166 self.value /= 3
167
168assert ExplicitTrisect(9).value == 3
169assert AutomaticTrisect(9).value == 3

Callers 1

item_053.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected