merge from 3.2

Issue #9021 - Introduce copy module better in the docs.
This commit is contained in:
Senthil Kumaran 2012-02-09 18:27:48 +08:00
commit f0f9679d5c
2 changed files with 7 additions and 1 deletions

View File

@ -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:

View File

@ -484,6 +484,8 @@ Library
make sure two listeners can't bind to the same socket/pipe (or any existing
socket/pipe).
- Issue #9021: Add an introduction to the copy module documentation.
- Issue #6005: Examples in the socket library documentation use sendall, where
relevant, instead send method.