fix pylint W1401 warnings in docstring