[Python-Dev] removing nested tuple function parameters
Steven Bethard
steven.bethard at gmail.com
Mon Sep 19 19:26:56 CEST 2005
More information about the Python-Dev mailing list
Mon Sep 19 19:26:56 CEST 2005
- Previous message: [Python-Dev] removing nested tuple function parameters
- Next message: [Python-Dev] removing nested tuple function parameters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum wrote:
> Also, I bet many people will be surprised to know that this code doesn't work:
>
> add = lambda (x, y): x+y
> print add(1, 2)
What, an example using lambda syntax that's unintuitive? Never! ;-)
STeVe
--
You can wordify anything if you just verb it.
--- Bucky Katt, Get Fuzzy
- Previous message: [Python-Dev] removing nested tuple function parameters
- Next message: [Python-Dev] removing nested tuple function parameters
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list