Python Lambdas Explained [video]neckbeardrepublic.com 17 pointsomarshammas13 years ago1 commentSaveHideCopy link On HNComments−themckman13yMay or may not be interesting, but: lambda x, y: pass will throw a syntax error because pass[0] is a statement and the lambda form[1] expects an expression:[0]: http://www.youtube.com/watch?v=Ov_y5kYJQSY [1]: http://www.youtube.com/watch?v=Ov_y5kYJQSY
Comments
May or may not be interesting, but:
will throw a syntax error because pass[0] is a statement and the lambda form[1] expects an expression:[0]: http://www.youtube.com/watch?v=Ov_y5kYJQSY [1]: http://www.youtube.com/watch?v=Ov_y5kYJQSY