We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 65d28c7 + c78d03b commit 09e8053Copy full SHA for 09e8053
1 file changed
examples/07_functions/func_lambda_assignment.py
@@ -1,2 +1,6 @@
1
+# Assigning a lambda expression to a variable
2
+# --------------------------------------------------------------------------------
3
+# Lambda expressions can be assigned to variables to create small, unnamed functions on the fly.
4
+
5
nop = lambda: None
6
print(nop())
0 commit comments