Skip to content

Commit

Permalink
fix more flake8 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Mar 5, 2017
1 parent f00a87c commit c77172e
Show file tree
Hide file tree
Showing 328 changed files with 827 additions and 1,065 deletions.
1 change: 1 addition & 0 deletions python/PyQt/PyQt4/QtCore.py
Expand Up @@ -57,6 +57,7 @@ def __ne__(self, other):
def __hash__(self):
return 2178309


QPyNullVariant.__nonzero__ = MethodType(__nonzero__, None, QPyNullVariant)
QPyNullVariant.__repr__ = MethodType(__repr__, None, QPyNullVariant)
QPyNullVariant.__eq__ = MethodType(__eq__, None, QPyNullVariant)
Expand Down
2 changes: 2 additions & 0 deletions python/PyQt/PyQt5/QtCore.py
Expand Up @@ -2,6 +2,7 @@

from types import MethodType


_QVariant__repr__ = QVariant.__repr__
_QVariant__eq__ = QVariant.__eq__
_QVariant__ne__ = QVariant.__ne__