Update repeating.py

documentation!