Skip to content

Commit c77172e

Browse files
committedMar 5, 2017
fix more flake8 warnings
1 parent f00a87c commit c77172e

File tree

328 files changed

+827
-1065
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

328 files changed

+827
-1065
lines changed
 

‎python/PyQt/PyQt4/QtCore.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def __ne__(self, other):
5757
def __hash__(self):
5858
return 2178309
5959

60+
6061
QPyNullVariant.__nonzero__ = MethodType(__nonzero__, None, QPyNullVariant)
6162
QPyNullVariant.__repr__ = MethodType(__repr__, None, QPyNullVariant)
6263
QPyNullVariant.__eq__ = MethodType(__eq__, None, QPyNullVariant)

‎python/PyQt/PyQt5/QtCore.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from types import MethodType
44

5+
56
_QVariant__repr__ = QVariant.__repr__
67
_QVariant__eq__ = QVariant.__eq__
78
_QVariant__ne__ = QVariant.__ne__
@@ -39,6 +40,7 @@ def __hash__(self):
3940
else:
4041
return _QVariant__hash__(self)
4142

43+
4244
QVariant.__bool__ = __bool__
4345
QVariant.__repr__ = __repr__
4446
QVariant.__eq__ = __eq__

0 commit comments

Comments
 (0)
Please sign in to comment.