From 193aa4e1f2c58d5a734c257be7e284b20799208c Mon Sep 17 00:00:00 2001 From: lanf0n Date: Fri, 6 Jan 2017 11:37:09 +0800 Subject: [PATCH] [#1459] fix typo `__neq__` to `__ne__` (#1461) --- mongoengine/base/datastructures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongoengine/base/datastructures.py b/mongoengine/base/datastructures.py index 8a7681e5..b9aca8fa 100644 --- a/mongoengine/base/datastructures.py +++ b/mongoengine/base/datastructures.py @@ -429,7 +429,7 @@ class StrictDict(object): def __eq__(self, other): return self.items() == other.items() - def __neq__(self, other): + def __ne__(self, other): return self.items() != other.items() @classmethod