[PySide] pylint and signal emit

Ed Lipson edlipsongm at gmail.com
Mon May 31 13:29:19 CEST 2021


I'm using pylint on a program. It keeps pointing out an error of no emit
member unless I disable the check.

self.dataChanged.emit(index, index) # pylint: disable=E1101

The code seems to work, so I am not sure if it is a false pylint error or
it is working some other way, even though I have subclassed setData and as
specified emitted dataChanged explicitly.
Could this be an artifact of the python/c++ nature of pyside?


Thanks,
Ed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20210531/49def4a5/attachment.html>


More information about the PySide mailing list