We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e69a72d + 20b2aad commit 590a1b6Copy full SHA for 590a1b6
1 file changed
examples/07_functions/func_unpacking_arguments.py
@@ -1,3 +1,9 @@
1
+# Argument unpacking with `*args`
2
+# -----------------------------------------------------------------------------
3
+# When calling a function, the star operator can expand an iterable into
4
+# positional arguments. This allows you to store the arguments in a list or
5
+# other iterable and pass them all at once.
6
+
7
def my_function(a, b, c):
8
print(a, b, c)
9
0 commit comments