mirror of
https://github.com/python/cpython.git
synced 2025-12-04 16:43:27 +00:00
Remove duplicate refs to int from int/long unification presumably. (There might be more refs like these.)
This commit is contained in:
parent
ba7bf49a54
commit
b69b2e59f6
1 changed files with 1 additions and 2 deletions
|
|
@ -99,7 +99,7 @@ _copy_dispatch = d = {}
|
||||||
|
|
||||||
def _copy_immutable(x):
|
def _copy_immutable(x):
|
||||||
return 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,
|
frozenset, type, xrange, types.ClassType,
|
||||||
types.BuiltinFunctionType,
|
types.BuiltinFunctionType,
|
||||||
types.FunctionType):
|
types.FunctionType):
|
||||||
|
|
@ -178,7 +178,6 @@ def _deepcopy_atomic(x, memo):
|
||||||
return x
|
return x
|
||||||
d[type(None)] = _deepcopy_atomic
|
d[type(None)] = _deepcopy_atomic
|
||||||
d[int] = _deepcopy_atomic
|
d[int] = _deepcopy_atomic
|
||||||
d[int] = _deepcopy_atomic
|
|
||||||
d[float] = _deepcopy_atomic
|
d[float] = _deepcopy_atomic
|
||||||
d[bool] = _deepcopy_atomic
|
d[bool] = _deepcopy_atomic
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue