use set flag to generate set results in docstring