mirror of
https://github.com/python/cpython.git
synced 2025-01-19 06:54:52 +08:00
Issue #9021 - Introduce copy module better. Doc changes suggested by Terry
Reedy.
This commit is contained in:
parent
6e13f130a9
commit
5b14d732d8
@ -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
Block a user