mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
commit
f0f9679d5c
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:
|
||||||
|
|
|
@ -484,6 +484,8 @@ Library
|
||||||
make sure two listeners can't bind to the same socket/pipe (or any existing
|
make sure two listeners can't bind to the same socket/pipe (or any existing
|
||||||
socket/pipe).
|
socket/pipe).
|
||||||
|
|
||||||
|
- 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