ENH: Fix typo in error message
DOC: Fix typo in docstring