improve docstring of ``Set.transform``