[New-bugs-announce] [issue44907] examples code output do not macth the current version 3.9

杨青 report at bugs.python.org
Fri Aug 13 02:32:57 EDT 2021


New submission from 杨青 <nwpu.yangqing at qq.com>:

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'

----------
assignee: docs at python
components: Documentation
messages: 399493
nosy: docs at python, yangqing
priority: normal
severity: normal
status: open
title: examples code output do not macth the current version 3.9
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44907>
_______________________________________


More information about the New-bugs-announce mailing list