Skip to content

Commit 575997a

Browse files
[3.11] gh-85023: [doc] clarify parameters vs arguments explanation in FAQ (GH-94282) (GH-94311)
(cherry picked from commit d71f5ad) Co-authored-by: Arun Mani J <[email protected]> Co-authored-by: Arun Mani J <[email protected]>
1 parent 442dd8f commit 575997a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/faq/programming.rst

+3-2
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,9 @@ What is the difference between arguments and parameters?
409409

410410
:term:`Parameters <parameter>` are defined by the names that appear in a
411411
function definition, whereas :term:`arguments <argument>` are the values
412-
actually passed to a function when calling it. Parameters define what types of
413-
arguments a function can accept. For example, given the function definition::
412+
actually passed to a function when calling it. Parameters define what
413+
:term:`kind of arguments <parameter>` a function can accept. For
414+
example, given the function definition::
414415

415416
def func(foo, bar=None, **kwargs):
416417
pass

0 commit comments

Comments
 (0)