[Python-3000-checkins] r53982 - python/branches/p3yk/Lib/copy.py

neal.norwitz python-3000-checkins at python.org
Tue Feb 27 04:41:10 CET 2007


Author: neal.norwitz
Date: Tue Feb 27 04:41:04 2007
New Revision: 53982

Modified:
   python/branches/p3yk/Lib/copy.py
Log:
Remove duplicate refs to int from int/long unification presumably.  (There might be more refs like these.)

Modified: python/branches/p3yk/Lib/copy.py
==============================================================================
--- python/branches/p3yk/Lib/copy.py	(original)
+++ python/branches/p3yk/Lib/copy.py	Tue Feb 27 04:41:04 2007
@@ -99,7 +99,7 @@
 
 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 @@
     return x
 d[type(None)] = _deepcopy_atomic
 d[int] = _deepcopy_atomic
-d[int] = _deepcopy_atomic
 d[float] = _deepcopy_atomic
 d[bool] = _deepcopy_atomic
 try:


More information about the Python-3000-checkins mailing list