diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-01-31 10:05:05 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-01-31 10:05:05 (GMT) |
commit | 08448a1f4d57e4dd35936b9e43259438d3246c06 (patch) | |
tree | 457d0934f5c53c5acdf93b0a676a0f45cb6ec4fb /Lib/sched.py | |
parent | 57f7db312210fcdc5db00f8e6a67f682ced342e3 (diff) | |
download | cpython-08448a1f4d57e4dd35936b9e43259438d3246c06.zip cpython-08448a1f4d57e4dd35936b9e43259438d3246c06.tar.gz cpython-08448a1f4d57e4dd35936b9e43259438d3246c06.tar.bz2 |
Issue #23326: Removed __ne__ implementations. Since fixing default __ne__
implementation in issue #21408 they are redundant.
Diffstat (limited to 'Lib/sched.py')
-rw-r--r-- | Lib/sched.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/sched.py b/Lib/sched.py index 409d126..b47648d 100644 --- a/Lib/sched.py +++ b/Lib/sched.py @@ -41,7 +41,6 @@ __all__ = ["scheduler"] class Event(namedtuple('Event', 'time, priority, action, argument, kwargs')): def __eq__(s, o): return (s.time, s.priority) == (o.time, o.priority) - def __ne__(s, o): return (s.time, s.priority) != (o.time, o.priority) def __lt__(s, o): return (s.time, s.priority) < (o.time, o.priority) def __le__(s, o): return (s.time, s.priority) <= (o.time, o.priority) def __gt__(s, o): return (s.time, s.priority) > (o.time, o.priority) |