Skip to content

Commit fe3c1fc

Browse files
committed
Small fix in DBAPISet.__ne__
1 parent 7fec4a2 commit fe3c1fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymysql/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class DBAPISet(frozenset):
4646

4747
def __ne__(self, other):
4848
if isinstance(other, set):
49-
return super(DBAPISet, self).__ne__(self, other)
49+
return frozenset.__ne__(self, other)
5050
else:
5151
return other not in self
5252

0 commit comments

Comments
 (0)