pylint not recognizing some of the standard library

后端 未结 3 1568
逝去的感伤
逝去的感伤 2021-02-13 01:35

I\'m using pylint + pydev, with python 2.6. I have a module with just this line of code

from email import Message

Now when I try to run this mo

3条回答
  •  伪装坚强ぢ
    2021-02-13 02:17

    I like pylint, but I do find I have to use a lot of # pylint: disable-msg=E0611 and the like to make it shut up in cases that are perfectly correct but confuse it (for example, like in this case, due to email's playing with import tricks).

提交回复
热议问题