Update shape.py