summaryrefslogtreecommitdiffstats
path: root/Lib/collections.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-01-11 11:54:02 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-01-11 11:54:02 (GMT)
commitc7d484de9bf61ce38cbbe5a071871100cc04c6d4 (patch)
treec5b654a7f73579ee648ffbc76ab6fadf4165641e /Lib/collections.py
parente97637daaa66b699c6d59b5ea91f40659d23dc66 (diff)
downloadcpython-c7d484de9bf61ce38cbbe5a071871100cc04c6d4.zip
cpython-c7d484de9bf61ce38cbbe5a071871100cc04c6d4.tar.gz
cpython-c7d484de9bf61ce38cbbe5a071871100cc04c6d4.tar.bz2
Remove __long__ methods from UserString and from Demo/ classes.
Diffstat (limited to 'Lib/collections.py')
-rw-r--r--Lib/collections.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/collections.py b/Lib/collections.py
index 458cbef..c3faa9a 100644
--- a/Lib/collections.py
+++ b/Lib/collections.py
@@ -255,7 +255,6 @@ class UserString(Sequence):
def __str__(self): return str(self.data)
def __repr__(self): return repr(self.data)
def __int__(self): return int(self.data)
- def __long__(self): return int(self.data)
def __float__(self): return float(self.data)
def __complex__(self): return complex(self.data)
def __hash__(self): return hash(self.data)