Update sp.py

minor