[trivial, docs] make extra arguments of sorted() keyword-only by rogalski · Pull Request #2706 · python/cpython
rogalski
changed the title
[docs] Make extra arguments of sorted() keyword-only
[trivial, docs] make extra arguments of sorted() keyword-only
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 :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters