Message369020
`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:01 | mark.dickinson | set | recipients:
+ mark.dickinson, docs@python, Chas Belov |
2020-05-16 08:00:01 | mark.dickinson | set | messageid: <1589616001.85.0.337163897264.issue40641@roundup.psfhosted.org> |
2020-05-16 08:00:01 | mark.dickinson | link | issue40641 messages |
2020-05-16 08:00:01 | mark.dickinson | create | |
|