From 71f223c54652fb84bfd06acd4c2fd4eedfa97005 Mon Sep 17 00:00:00 2001 From: Arun Mani J <49952138+arun-mani-j@users.noreply.github.com> Date: Mon, 27 Jun 2022 03:27:41 +0530 Subject: [PATCH] [3.11] gh-85023: [doc] clarify parameters vs arguments explanation in FAQ (GH-94282) (cherry picked from commit d71f5adc41569c2d626552269797e0545fc9122c) Co-authored-by: Arun Mani J <49952138+arun-mani-j@users.noreply.github.com> --- Doc/faq/programming.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst index 0b11bc986bbb04..5207add7783d3f 100644 --- a/Doc/faq/programming.rst +++ b/Doc/faq/programming.rst @@ -409,8 +409,9 @@ What is the difference between arguments and parameters? :term:`Parameters ` are defined by the names that appear in a function definition, whereas :term:`arguments ` are the values -actually passed to a function when calling it. Parameters define what types of -arguments a function can accept. For example, given the function definition:: +actually passed to a function when calling it. Parameters define what +:term:`kind of arguments ` a function can accept. For +example, given the function definition:: def func(foo, bar=None, **kwargs): pass