[1.7.x] Fixed typo in docstring.

Backport of 029d77eaaa from master