[Python-Dev] any support for a methodcaller HOF?
Chris or Leslie Smith
smiles at worksmail.net
Mon Feb 6 03:50:43 CET 2006
More information about the Python-Dev mailing list
Mon Feb 6 03:50:43 CET 2006
- Previous message: [Python-Dev] [PATCH] Fix dictionary subclass semantics whenused as global dictionaries
- Next message: [Python-Dev] math.areclose ...?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
| making the implied return statment visible might also be a good idea, | e.g. | | lambda x, y: return x + y | | or even | | def (x, y): return x + y | Although I don't understand the implications of making such a change, the 2nd alternative above looks very nice. Whenever I write a lambda I feel like I am doing something non-pythonic. I think the 2nd proposal increases the readability of the lambda, something that is often touted as being part of what makes python beautiful. /c
- Previous message: [Python-Dev] [PATCH] Fix dictionary subclass semantics whenused as global dictionaries
- Next message: [Python-Dev] math.areclose ...?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list