Skip to content

[trivial, docs] make extra arguments of sorted() keyword-only#2706

Merged
bitdancer merged 2 commits into
python:masterfrom
rogalski:master
Jul 14, 2017
Merged

[trivial, docs] make extra arguments of sorted() keyword-only#2706
bitdancer merged 2 commits into
python:masterfrom
rogalski:master

Conversation

@rogalski

Copy link
Copy Markdown
Contributor

Fixes discrepancy reported on SO: https://stackoverflow.com/questions/44756577

@mention-bot

Copy link
Copy Markdown

@rogalski, thanks for your PR! By analyzing the history of the files in this pull request, we identified @birkenfeld, @benjaminp and @rhettinger to be potential reviewers.

@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 bitdancer left a comment

Copy link
Copy Markdown
Member

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 bitdancer merged commit be37beb into python:master Jul 14, 2017
@rogalski

Copy link
Copy Markdown
Contributor Author

Wow, thanks for such a rapid merge.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants