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 mark.dickinson
Recipients Chas Belov, docs@python, mark.dickinson
Date 2020-05-16.08:00:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
`pair` isn't a reserved word here; it's just the formal parameter name. Think of the lambda here as being equivalent to a function

    def second(pair):
        return pair[1]

You can replace the word "pair" here with any other valid Python identifier, and it'll still work the same way.
Date User Action Args
2020-05-16 08:00:01mark.dickinsonsetrecipients: + mark.dickinson, docs@python, Chas Belov
2020-05-16 08:00:01mark.dickinsonsetmessageid: <>
2020-05-16 08:00:01mark.dickinsonlinkissue40641 messages
2020-05-16 08:00:01mark.dickinsoncreate