Message108300
| Author |
terry.reedy |
| Recipients |
docs@python, giampaolo.rodola, techtonik, terry.reedy |
| Date |
2010年06月21日.19:21:47 |
| SpamBayes Score |
0.03933549 |
| Marked as misclassified |
No |
| Message-id |
<1277148108.9.0.805678976256.issue9021@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Shorter and better version.
Assignment statements create bindings between a target and an object. They never duplicate or copy an existing 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). Shallow copies can also be obtained by whole sequence slicing (s[:]) and some class constructors (tuple, list, set, dict). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年06月21日 19:21:49 | terry.reedy | set | recipients:
+ terry.reedy, techtonik, giampaolo.rodola, docs@python |
| 2010年06月21日 19:21:48 | terry.reedy | set | messageid: <1277148108.9.0.805678976256.issue9021@psf.upfronthosting.co.za> |
| 2010年06月21日 19:21:47 | terry.reedy | link | issue9021 messages |
| 2010年06月21日 19:21:47 | terry.reedy | create |
|