mirror of
https://github.com/python/cpython.git
synced 2025-11-26 13:22:51 +00:00
Issue #9021 - Introduce copy module better. Doc changes suggested by Terry
Reedy.
This commit is contained in:
parent
6e13f130a9
commit
5b14d732d8
2 changed files with 7 additions and 1 deletions
|
|
@ -4,7 +4,11 @@
|
||||||
.. module:: copy
|
.. module:: copy
|
||||||
:synopsis: Shallow and deep copy operations.
|
: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:
|
Interface summary:
|
||||||
|
|
|
||||||
|
|
@ -113,6 +113,8 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #9021: Add an introduction to the copy module documentation.
|
||||||
|
|
||||||
- Issue #6005: Examples in the socket library documentation use sendall, where
|
- Issue #6005: Examples in the socket library documentation use sendall, where
|
||||||
relevant, instead send method.
|
relevant, instead send method.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue