~ubuntu-branches/ubuntu/precise/python3.2/precise-proposed

« back to all changes in this revision

Viewing changes to Doc/library/copy.rst

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-03-09 18:40:39 UTC
  • mfrom: (30.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20120309184039-j3yk2emxr1plyo21
Tags: 3.2.3~rc1-1
* Python 3.2.3 release candidate 1.
* Update to 20120309 from the 3.2 branch.
* Fix libpython.a symlink. Closes: #660146.
* Build-depend on xauth.
* Run the gdb tests for the debug build only.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
.. module:: copy
5
5
   :synopsis: Shallow and deep copy operations.
6
6
 
7
 
This module provides generic (shallow and deep) copying operations.
 
7
Assignment statements in Python do not copy objects, they create bindings
 
8
between a target and an object. For collections that are mutable or contain
 
9
mutable items, a copy is sometimes needed so one can change one copy without
 
10
changing the other. This module provides generic shallow and deep copy
 
11
operations (explained below).
8
12
 
9
13
 
10
14
Interface summary: