]> granicus.if.org Git - python/commitdiff
Remove duplicate refs to int from int/long unification presumably. (There might...
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 27 Feb 2007 03:41:04 +0000 (03:41 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 27 Feb 2007 03:41:04 +0000 (03:41 +0000)
Lib/copy.py

index 9bc794aefc009d95a91012053b9b6fed5701c881..e47f03e1ee4492f73d6c8dcc30d9b0ddfa2dda54 100644 (file)
@@ -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: