This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients HVoltBb, docs@python, eric.smith
Date 2021-05-21.01:26:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621560415.4.0.333191264742.issue44199@roundup.psfhosted.org>
In-reply-to
Content
The example is correct. The result is sorted by the second item (index=1) of each tuple:

four
one
three
two

Maybe the text could make it more clear that that's the desired output.
History
Date User Action Args
2021-05-21 01:26:55eric.smithsetrecipients: + eric.smith, docs@python, HVoltBb
2021-05-21 01:26:55eric.smithsetmessageid: <1621560415.4.0.333191264742.issue44199@roundup.psfhosted.org>
2021-05-21 01:26:55eric.smithlinkissue44199 messages
2021-05-21 01:26:55eric.smithcreate