summaryrefslogtreecommitdiffstats
path: root/Doc/faq
diff options
context:
space:
mode:
authorArun Mani J <49952138+arun-mani-j@users.noreply.github.com>2022-06-26 21:57:41 (GMT)
committerGitHub <noreply@github.com>2022-06-26 21:57:41 (GMT)
commitd71f5adc41569c2d626552269797e0545fc9122c (patch)
tree083d73d4bc3dda752ff98ddc165b713a86725f59 /Doc/faq
parent8c237a7a71d52f996f58dc58f6b6ce558d209494 (diff)
downloadcpython-d71f5adc41569c2d626552269797e0545fc9122c.zip
cpython-d71f5adc41569c2d626552269797e0545fc9122c.tar.gz
cpython-d71f5adc41569c2d626552269797e0545fc9122c.tar.bz2
gh-85023: [doc] clarify parameters vs arguments explanation in FAQ (GH-94282)
Diffstat (limited to 'Doc/faq')
-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 0b11bc9..5207add 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