[issue21728] Confusing error message when initialising type inheriting object.__init__

Irit Katriel report at bugs.python.org
Thu Feb 4 16:50:40 EST 2021


Irit Katriel <iritkatriel at yahoo.com> added the comment:

Looks like this was fixed under issue31506.

In any case it works for me now: 

>>> A(42)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: A() takes no arguments

----------
nosy: +iritkatriel
resolution:  -> fixed
status: open -> pending

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


More information about the Python-bugs-list mailing list