◐ Shell
clean mode source ↗

[trivial, docs] make extra arguments of sorted() keyword-only by rogalski · Pull Request #2706 · python/cpython

@mention-bot

@rogalski rogalski changed the title [docs] Make extra arguments of sorted() keyword-only [trivial, docs] make extra arguments of sorted() keyword-only

Jul 14, 2017

bitdancer

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to help/pydoc, which uses the argument-clinic generated syntax, the default for reverse is False (which makes sense if you think about it :)

bitdancer

@rogalski

Wow, thanks for such a rapid merge.

I'll prepare a backport to 3.6 while I'm at it.