diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-01-28 19:43:35 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-01-28 19:43:35 (GMT) |
commit | 0a20bbf66913157bb54b8d6e426f540233c7ea6c (patch) | |
tree | 4a1efd1f9980fe4356686db47c3497229d6afeae /Lib/copy.py | |
parent | d5db57396b9c174dac3f8491cc50b61080cec75a (diff) | |
download | cpython-0a20bbf66913157bb54b8d6e426f540233c7ea6c.zip cpython-0a20bbf66913157bb54b8d6e426f540233c7ea6c.tar.gz cpython-0a20bbf66913157bb54b8d6e426f540233c7ea6c.tar.bz2 |
Issue #26202: copy.deepcopy() now correctly copies range() objects with
non-atomic attributes.
Diffstat (limited to 'Lib/copy.py')
-rw-r--r-- | Lib/copy.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/copy.py b/Lib/copy.py index 493c487..972b94a 100644 --- a/Lib/copy.py +++ b/Lib/copy.py @@ -207,7 +207,6 @@ try: except AttributeError: pass d[type] = _deepcopy_atomic -d[range] = _deepcopy_atomic d[types.BuiltinFunctionType] = _deepcopy_atomic d[types.FunctionType] = _deepcopy_atomic d[weakref.ref] = _deepcopy_atomic |