]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-85023: [doc] clarify parameters vs arguments explanation in FAQ (GH-94282)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 26 Jun 2022 22:05:23 +0000 (15:05 -0700)
committerGitHub <noreply@github.com>
Sun, 26 Jun 2022 22:05:23 +0000 (15:05 -0700)
(cherry picked from commit d71f5adc41569c2d626552269797e0545fc9122c)

Co-authored-by: Arun Mani J <49952138+arun-mani-j@users.noreply.github.com>
Doc/faq/programming.rst

index be7dd6a9d9d406c675b1a8898a21601edd53746d..efd7a5ae00269cbc28667143a600fe87126cae61 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