[issue36433] Unhelpful error message in classmethoddescr_call()
Serhiy Storchaka
report at bugs.python.org
Tue Mar 26 04:19:54 EDT 2019
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
More confusing error message:
>>> desc(1, [])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: descriptor 'fromkeys' requires a type but received a 'dict'
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36433>
_______________________________________
More information about the Python-bugs-list
mailing list