Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

> Do you also exclude class and static methods?

Yup, there is a test in the PR for that IIRC

>I still worry that this might confuse users when a library for some reason 
>uses a different name than 'self'.

That's a good point but I think it should be fine because the old error is 
still there and the new part is formulated as a question (did you forgot ...?). 
We have other errors where we are not completely sure and we formulate the 
suggestion as a question. Some examples are the new error for incomplete 
imports and some missing coma errors.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42978>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to