summaryrefslogtreecommitdiffstats
path: root/Lib/copy.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-02-27 03:41:04 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-02-27 03:41:04 (GMT)
commitb69b2e59f69def8fa90ab762ec6b116d0a0e0a29 (patch)
treef03082ad0db9efee15d57ff4842644e7484ebf55 /Lib/copy.py
parentba7bf49a54223b940b773c8678ab8c60da12a155 (diff)
downloadcpython-b69b2e59f69def8fa90ab762ec6b116d0a0e0a29.zip
cpython-b69b2e59f69def8fa90ab762ec6b116d0a0e0a29.tar.gz
cpython-b69b2e59f69def8fa90ab762ec6b116d0a0e0a29.tar.bz2
Remove duplicate refs to int from int/long unification presumably. (There might be more refs like these.)
Diffstat (limited to 'Lib/copy.py')
-rw-r--r--Lib/copy.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/copy.py b/Lib/copy.py
index 9bc794a..e47f03e 100644
--- a/Lib/copy.py
+++ b/Lib/copy.py
@@ -99,7 +99,7 @@ _copy_dispatch = d = {}
def _copy_immutable(x):
return x
-for t in (type(None), int, int, float, bool, str, tuple,
+for t in (type(None), int, float, bool, str, tuple,
frozenset, type, xrange, types.ClassType,
types.BuiltinFunctionType,
types.FunctionType):
@@ -178,7 +178,6 @@ def _deepcopy_atomic(x, memo):
return x
d[type(None)] = _deepcopy_atomic
d[int] = _deepcopy_atomic
-d[int] = _deepcopy_atomic
d[float] = _deepcopy_atomic
d[bool] = _deepcopy_atomic
try: