T121365 shows many instances where the docstring has 'DEPRECATED' explicitly added to the docstring.
There will be other cases where a method is decorated with @deprecated but the docstring was not updated to mention it is deprecated, or there is no docstring at all.
All the existing literal DEPRECATED in docstrings should be removed, and the deprecated decorator should add/alter the function's docstring to describe the deprecation for documentation.
This task doesnt need to solve T121365; it could simply replicate the existing problem by prefixing the docstrings with 'DEPRECATED:' .
There are alternatives which would pass the new pep257 rule, such as appending (DEPRECATED). to the end of the first line of the docstring.