From 08448a1f4d57e4dd35936b9e43259438d3246c06 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sat, 31 Jan 2015 12:05:05 +0200 Subject: Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ implementation in issue #21408 they are redundant. --- Lib/sched.py | 1 - 1 file changed, 1 deletion(-) (limited to 'Lib/sched.py') diff --git a/Lib/sched.py b/Lib/sched.py index 409d126ef5..b47648d973 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) -- cgit v1.2.1