fixed syntax error in shape.py