Message407068
Reproduced on 3.11:
>>> def foo(): pass
...
>>> foo.__name__ = 'bar'
>>> foo(1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: foo() takes 0 positional arguments but 1 was given |
|
Date |
User |
Action |
Args |
2021-11-26 16:39:47 | iritkatriel | set | recipients:
+ iritkatriel, jcea, benjamin.peterson, erickt, r.david.murray, berker.peksag, martin.panter, mchelem |
2021-11-26 16:39:47 | iritkatriel | set | messageid: <1637944787.35.0.0725569826412.issue4322@roundup.psfhosted.org> |
2021-11-26 16:39:47 | iritkatriel | link | issue4322 messages |
2021-11-26 16:39:47 | iritkatriel | create | |
|