Mark Dickinson <[email protected]> added the comment:
`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.
----------
nosy: +mark.dickinson
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40641>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com