Correct inaccuracy in docstring warning message
Merge pull request #8751 from terminalmage/docs

Correct inaccuracy in docstring warning message