|
Rosetta
|

Public Member Functions | |
| def | __init__ (self) |
| def | area (self) |
Public Member Functions inherited from test.Workshop9_my_shapes.MyShape | |
| def | __str__ (self) |
| def | draw (self, line_width=1) |
Public Attributes | |
| side_length | |
Public Attributes inherited from test.Workshop9_my_shapes.MyShape | |
| color | |
A subclass of MyShape for a square.
| def test.Workshop9_my_shapes.MySquare.__init__ | ( | self | ) |
Reimplemented from test.Workshop9_my_shapes.MyShape.
Referenced by pyrosetta.distributed.tasks.taskbase.TaskBase.__setstate__().
| def test.Workshop9_my_shapes.MySquare.area | ( | self | ) |
Return the area of the square.
Reimplemented from test.Workshop9_my_shapes.MyShape.
References test.Workshop9_my_shapes.MySquare.side_length.
| test.Workshop9_my_shapes.MySquare.side_length |
Referenced by test.Workshop9_my_shapes.MySquare.area().