Is it on purpose that these lines are duplicates? If so, a comment to explain why would be welcome.
You're looking at a very old version (0.14.0), it's fixed in master: https://github.com/scipy/scipy/blob/master/scipy/stats/stats.py#L4846
Thanks for the report anyway @Vayel
@rgommers Oups sorry. This is the version linked in the docs ("source" link).
It's the link given in the documentation only if you are reading the
documentation for the old 0.14.0 version.

You probably end up on that page through a search engine. If you look at the top of the documentation page you can see which version docs you are looking at. If you click on Docs you can go back to all versions of the documentation.