In Listing 12.4 the signature for the _draw method in line 19 should include a parameter to reference a turtle, since the turtle is in fact needed by the child classes.
def _draw(self, someTurtle):
print("error:…")
In Listing 12.4 the signature for the _draw method in line 19 should include a parameter to reference a turtle, since the turtle is in fact needed by the child classes.
def _draw(self, someTurtle):
print("error:…")