Message359302
I recently got this familiar error:
builtins.TypeError: __init__() takes 1 positional argument but 2 were given
It was annoying that I didn't know which `__init__` method was under discussion. I wish that Python used the `__qualname__` of the function to show this error message (and maybe others?) so it'll show like this:
builtins.TypeError: FooBar.__init__() takes 1 positional argument but 2 were given
If I'm not mistaken, the implementation of this error is in getargs.c in the function vgetargs1_impl. |
|
Date |
User |
Action |
Args |
2020-01-04 18:52:25 | cool-RR | set | recipients:
+ cool-RR |
2020-01-04 18:52:25 | cool-RR | set | messageid: <1578163945.77.0.403027118696.issue39212@roundup.psfhosted.org> |
2020-01-04 18:52:25 | cool-RR | link | issue39212 messages |
2020-01-04 18:52:25 | cool-RR | create | |
|