cleared docstring, fixed indentation

pull GH6302
thanks to jorisvandenbossche