Python Lambdas Explained [video](neckbeardrepublic.com)17 points·by omarshammas·13 ปีที่แล้ว·1 commentsneckbeardrepublic.comPython Lambdas Explained [video]https://www.neckbeardrepublic.com/screencasts/lambdas-functions1 commentsPost comment[–]themckman·13 ปีที่แล้วreplyMay 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
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