From 20b2aad5e0383f99fa3136d9ea86974da3f64011 Mon Sep 17 00:00:00 2001 From: Branimir Georgiev <66906831+braboj@users.noreply.github.com> Date: Wed, 11 Jun 2025 08:43:03 +0300 Subject: [PATCH] [#####] - add header on argument unpacking --- examples/07_functions/func_unpacking_arguments.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/07_functions/func_unpacking_arguments.py b/examples/07_functions/func_unpacking_arguments.py index 6f25c3a..7bcfb9a 100644 --- a/examples/07_functions/func_unpacking_arguments.py +++ b/examples/07_functions/func_unpacking_arguments.py @@ -1,3 +1,9 @@ +# Argument unpacking with `*args` +# ----------------------------------------------------------------------------- +# When calling a function, the star operator can expand an iterable into +# positional arguments. This allows you to store the arguments in a list or +# other iterable and pass them all at once. + def my_function(a, b, c): print(a, b, c)