diff options
author | Brett Cannon <brett@python.org> | 2024-03-13 18:10:03 -0700 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-03-14 13:39:07 +0000 |
commit | c60b93e35a042e269ae47f3da0c3040527a0eaaa (patch) | |
tree | b0bd7b4f1fa0a528ee887b3ea8606ff1b6c14140 /src/content | |
parent | 014c917bb2f156712385106761be68ce7114488b (diff) | |
download | tour-c60b93e35a042e269ae47f3da0c3040527a0eaaa.tar.gz tour-c60b93e35a042e269ae47f3da0c3040527a0eaaa.zip |
Try to clarify what "any number of arguments" means in the "function capture" page
Closes #53
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/chapter1_functions/lesson05_function_captures/en.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/chapter1_functions/lesson05_function_captures/en.html b/src/content/chapter1_functions/lesson05_function_captures/en.html index 1b60f51..4c86e27 100644 --- a/src/content/chapter1_functions/lesson05_function_captures/en.html +++ b/src/content/chapter1_functions/lesson05_function_captures/en.html @@ -6,7 +6,7 @@ <p> The anonymous function <code>fn(a) { some_function(..., a, ...) }</code> can be written as <code>some_function(..., _, ...)</code>, with any number of - other arguments passed to the inner function. The underscore <code>_</code> is - a placeholder for the argument, equivalent to <code>a</code> in - <code>fn(a) { some_function(..., a, ...) }</code>. + other arguments passed directly to the inner function. The underscore + <code>_</code> is a placeholder for the argument, equivalent to + <code>a</code> in <code>fn(a) { some_function(..., a, ...) }</code>. </p> |