MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / RedTriangle

Class RedTriangle

example_code/item_062.py:246–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244
245print("Example 13")
246class RedTriangle(Filled, BetterPolygon):
247 color = "red"
248 sides = 3
249
250ruddy = RedTriangle()
251assert isinstance(ruddy, Filled)

Callers 1

item_062.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected