Update ps.rst with complete docstring