diff options
author | Mads Jensen <mads.jensen@eficode.com> | 2021-02-26 01:50:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-26 01:50:54 +0300 |
commit | 135187f03e18eebcb32b05c4ecb76a4552aed883 (patch) | |
tree | cd14bf577d108c53b24ca529f67fb7920a04347e /acme | |
parent | e742cfaa21176f1f5a3e43c8022b9c899bc5c205 (diff) |
Python 3 obsoletes explicit __ne__ methods (#8676)
This shouldn't be needed as of Python 3+.
https://stackoverflow.com/questions/4352244/should-ne-be-implemented-as-the-negation-of-eq-in-python#30676267
Diffstat (limited to 'acme')
-rw-r--r-- | acme/acme/messages.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/acme/acme/messages.py b/acme/acme/messages.py index 44ecb143c..61fd89dfd 100644 --- a/acme/acme/messages.py +++ b/acme/acme/messages.py @@ -150,9 +150,6 @@ class _Constant(jose.JSONDeSerializable, Hashable): # type: ignore def __hash__(self): return hash((self.__class__, self.name)) - def __ne__(self, other): - return not self == other - class Status(_Constant): """ACME "status" field.""" |