summaryrefslogtreecommitdiffstats
path: root/Lib/collections.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/collections.py')
-rw-r--r--Lib/collections.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/collections.py b/Lib/collections.py
index 4bde5b3..512cf28 100644
--- a/Lib/collections.py
+++ b/Lib/collections.py
@@ -436,8 +436,6 @@ class UserList(MutableSequence):
def __ge__(self, other): return self.data >= self.__cast(other)
def __cast(self, other):
return other.data if isinstance(other, UserList) else other
- def __cmp__(self, other):
- return cmp(self.data, self.__cast(other))
def __contains__(self, item): return item in self.data
def __len__(self): return len(self.data)
def __getitem__(self, i): return self.data[i]