We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85cabee commit 20b2aadCopy full SHA for 20b2aad
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