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

(cherry picked from commit d71f5adc41)

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

Co-authored-by: Arun Mani J <49952138+arun-mani-j@users.noreply.github.com>
This commit is contained in:
Irit Katriel 2022-06-26 23:00:52 +01:00 committed by GitHub
parent 442dd8ffa5
commit 575997af62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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