Search found 1 match

by aestrivex
Tue Dec 11, 2012 5:38 pm UTC
Forum: Coding
Topic: Multi-line Anonymous Functions in Python
Replies: 32
Views: 38934

Re: Multi-line Anonymous Functions in Python

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: ...

Go to advanced search