[issue42978] Improve error message when "self" is missing from the method definition

Pablo Galindo Salgado report at bugs.python.org
Wed Jan 20 14:12:58 EST 2021


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

> Seems that that guess will be wrong in most cases.

Maybe I am missing something. Could you list some cases where this will give the wrong advice?

----------

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


More information about the Python-bugs-list mailing list