Sorry, I didn't mean to delete the docstring -- attaching revised patch.