summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-06-26 15:05:23 -0700
committerGitHub <noreply@github.com>2022-06-26 15:05:23 -0700
commitfd26f29c29692b7f013052ed67ed7db30cffa283 (patch)
tree8520d7ac8ba0d756da3e438aedfded8ac817a243
parentc481cd6256f0e4493fa28f26c5902101803abadb (diff)
downloadcpython-git-fd26f29c29692b7f013052ed67ed7db30cffa283.tar.gz
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>
-rw-r--r--Doc/faq/programming.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
index be7dd6a9d9..efd7a5ae00 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 <parameter>` are defined by the names that appear in a
function definition, whereas :term:`arguments <argument>` 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 <parameter>` a function can accept. For
+example, given the function definition::
def func(foo, bar=None, **kwargs):
pass