From a56c467ac39ab1a6a2e9dc2fa41a9f573f989839 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Tue, 27 Jan 2009 18:17:45 +0000 Subject: Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ from the standard library and tests. --- Lib/xmlrpc/client.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Lib/xmlrpc/client.py') diff --git a/Lib/xmlrpc/client.py b/Lib/xmlrpc/client.py index d18efce4c1..c752621ad6 100644 --- a/Lib/xmlrpc/client.py +++ b/Lib/xmlrpc/client.py @@ -349,10 +349,6 @@ class DateTime: def timetuple(self): return time.strptime(self.value, "%Y%m%dT%H:%M:%S") - def __cmp__(self, other): - s, o = self.make_comparable(other) - return cmp(s, o) - ## # Get date/time value. # -- cgit v1.2.1