Change implement the __ne__ none equality method into the ParseResult class.

This commit is contained in:
Prinz23 2017-12-04 15:14:37 +01:00 committed by JackDandy
parent ef01d1da68
commit 0311b2777d

View file

@ -597,6 +597,9 @@ class ParseResult(object):
self.version = version
def __ne__(self, other):
return not self.__eq__(other)
def __eq__(self, other):
if not other:
return False