Merge pull request #1020 from JackDandy/feature/ChangeParseResultClass

Change implement the __ne__ none equality method into the ParseResult…
This commit is contained in:
JackDandy 2017-12-04 17:22:52 +00:00 committed by GitHub
commit 18018a829f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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