Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Lib/copy.py
Co-authored-by: Victor Stinner <vstinner@python.org>
  • Loading branch information
eendebakpt and vstinner authored Sep 4, 2025
commit 4c7c42b75e318558e657448c9a973499d6aed654
2 changes: 1 addition & 1 deletion Lib/copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def deepcopy(x, memo=None):
_keep_alive(x, memo) # Make sure x lives at least as long as d
return y

_atomic_types = frozenset({types.NoneType, types.EllipsisType, types.NotImplementedType,
_atomic_types = frozenset({types.NoneType, types.EllipsisType, types.NotImplementedType,
int, float, bool, complex, bytes, str, types.CodeType, type, range,
types.BuiltinFunctionType, types.FunctionType, weakref.ref, property})

Expand Down
Loading