This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients Arfrever, chris.jerdonek, docs@python, ezio.melotti, gvanrossum, mark.dickinson, terry.reedy
Date 2012-09-21.10:08:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> "between arguments (what you pass, call syntax) and parameters
> (what the function receives, function definition syntax)"

Note that there's a subtle difference to make here.  IMHO as soon as you use terms like "receives" or "accepts", you are still talking about arguments.  What you pass from one side is received by the other, and it's called an argument.

Given "def f(x, y): pass" you can say that x and y are parameter of the f function, or that the function accepts 2 arguments -- x and y.  The latter is far more common IME, and I rarely talk about parameters myself.

In "f() missing 1 required positional argument: 'x'", the usage of "argument" is correct, because what's missing is the argument in the function call, not the parameter in the function definition.  However the error points to the corresponding parameter 'x' -- because clearly it can't point to the argument you forgot to pass -- and this fact might led to some confusion.  IMHO though, the error is clear as is (at least regarding argument/parameter), so I wouldn't change it.
Date User Action Args
2012-09-21 10:08:51ezio.melottisetrecipients: + ezio.melotti, gvanrossum, terry.reedy, mark.dickinson, Arfrever, chris.jerdonek, docs@python
2012-09-21 10:08:51ezio.melottisetmessageid: <>
2012-09-21 10:08:50ezio.melottilinkissue15990 messages
2012-09-21 10:08:50ezio.melotticreate