![]() |
Rosetta
2019.07
|
Public Member Functions | |
def | __init__ |
def | area |
![]() | |
def | __init__ |
def | __str__ |
def | area |
def | draw |
Public Attributes | |
side_length | |
![]() | |
color | |
A subclass of MyShape for a square.
def test.Workshop9_my_shapes.MySquare.__init__ | ( | self | ) |
Referenced by pyrosetta.distributed.tasks.taskbase.TaskBase.__setstate__().
def test.Workshop9_my_shapes.MySquare.area | ( | self | ) |
Return the area of the square.
References test.Workshop9_my_shapes.MySquare.side_length.
test.Workshop9_my_shapes.MySquare.side_length |
Referenced by test.Workshop9_my_shapes.MySquare.area().