Fix deprecation docstring typo

Small typo in docstrings and deprecation warnings.