Skip to content

Commit

Permalink
Merge pull request PyMySQL#377 from lzedl/master
Browse files Browse the repository at this point in the history
Fix DBAPISet.__ne__ raises TypeError.
  • Loading branch information
methane committed Sep 2, 2015
2 parents 7fec4a2 + fe3c1fc commit 73e8034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymysql/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class DBAPISet(frozenset):

def __ne__(self, other):
if isinstance(other, set):
return super(DBAPISet, self).__ne__(self, other)
return frozenset.__ne__(self, other)
else:
return other not in self

Expand Down

0 comments on commit 73e8034

Please sign in to comment.