Issue #9021: Add an introduction to the copy module. Doc changes suggested by Terry Reedy.
This commit is contained in:
parent
607e31eddf
commit
59e7c8f177
|
@ -4,7 +4,11 @@
|
|||
.. module:: copy
|
||||
:synopsis: Shallow and deep copy operations.
|
||||
|
||||
This module provides generic (shallow and deep) copying operations.
|
||||
Assignment statements in Python do not copy objects, they create bindings
|
||||
between a target and an object. For collections that are mutable or contain
|
||||
mutable items, a copy is sometimes needed so one can change one copy without
|
||||
changing the other. This module provides generic shallow and deep copy
|
||||
operations (explained below).
|
||||
|
||||
|
||||
Interface summary:
|
||||
|
|
Loading…
Reference in New Issue