MCPcopy 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
148print("Example 12")
149class ExplicitTrisect(MyBaseClass):
150 def __init__(self, value):
151 super(ExplicitTrisect, self).__init__(value)
152 self.value /= 3
153
154assert ExplicitTrisect(9).value == 3
155

Callers 1

item_053.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected