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 yangqing
Recipients docs@python, yangqing
Date 2021-08-13.06:32:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628836377.64.0.917738508338.issue44907@roundup.psfhosted.org>
In-reply-to
Content
https://docs.python.org/3/tutorial/controlflow.html

I got like this following:
TypeError: function() got multiple values for argument 'a'
not:
TypeError: function() got multiple values for keyword argument 'a'

>>> def function(a):
...     pass
...
>>> function(0, a=0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: function() got multiple values for keyword argument 'a'
History
Date User Action Args
2021-08-13 06:32:57yangqingsetrecipients: + yangqing, docs@python
2021-08-13 06:32:57yangqingsetmessageid: <1628836377.64.0.917738508338.issue44907@roundup.psfhosted.org>
2021-08-13 06:32:57yangqinglinkissue44907 messages
2021-08-13 06:32:57yangqingcreate