Search found 1 match
Search found 1 match • Page 1 of 1
- Tue Dec 11, 2012 5:38 pm UTC
- Forum: Coding
- Topic: Multi-line Anonymous Functions in Python
- Replies: 32
- Views: 38934
Nevertheless, lambdas don't add any power, they just make things a bit easier to read and write sometimes. without lambdas there is not full support for closures /usr/lib/some_library.py: def give_me_a_function_of_one_argument(k): arg = do_some_stuff() return k(arg) /home/user/your_application.py: ...