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 terry.reedy
Recipients docs@python, icedream91, r.david.murray, terry.reedy
Date 2013-07-05.18:57:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373050634.92.0.748243178406.issue18326@psf.upfronthosting.co.za>
In-reply-to
Content
'keyword argument' refers one to 'argument'. The entry for the latter says that there are only two types of arguments, keyword and positional. That is true as to how actual arguments are passed.

There are 3 possibilities for how a single argument for a parameter might be passed:
standard - positional or keyword
positional only (args for many C functions, not specifically indicated)
keyword only (follow '*' or '*args' after signature.

These are explained in the parameter entry. Keyword-only parameters have to be matched by keyword arguments.

I think it a bit misleading to say "There are two types of arguments". That actually means "There are two ways of passing an argument". Precede it by 'name=' or not. An object is the same whether passed by name or position.

Calling a name a keyword in this context is also misleading since 'keyword' otherwise means a reserved word that cannot be used as a name. Using an actual keyword to name an argument is illegal: 'for = 2' raises.
History
Date User Action Args
2013-07-05 18:57:14terry.reedysetrecipients: + terry.reedy, r.david.murray, docs@python, icedream91
2013-07-05 18:57:14terry.reedysetmessageid: <1373050634.92.0.748243178406.issue18326@psf.upfronthosting.co.za>
2013-07-05 18:57:14terry.reedylinkissue18326 messages
2013-07-05 18:57:14terry.reedycreate