[Python-checkins] gh-85023: [doc] clarify parameters vs arguments explanation in FAQ (GH-94282)

miss-islington webhook-mailer at python.org
Sun Jun 26 18:05:28 EDT 2022


https://github.com/python/cpython/commit/fd26f29c29692b7f013052ed67ed7db30cffa283
commit: fd26f29c29692b7f013052ed67ed7db30cffa283
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-06-26T15:05:23-07:00
summary:

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 at users.noreply.github.com>

files:
M Doc/faq/programming.rst

diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
index be7dd6a9d9d40..efd7a5ae00269 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



More information about the Python-checkins mailing list