]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-85023: [doc] clarify parameters vs arguments explanation in FAQ (GH-94282)
authorArun Mani J <49952138+arun-mani-j@users.noreply.github.com>
Sun, 26 Jun 2022 21:57:41 +0000 (03:27 +0530)
committerGitHub <noreply@github.com>
Sun, 26 Jun 2022 21:57:41 +0000 (22:57 +0100)
Doc/faq/programming.rst

index 0b11bc986bbb047a57e7e83379d5933bb5789871..5207add7783d3f11f88022abd6e82cdc9ae4555d 100644 (file)
@@ -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