Update docs.py

Typo in function name