| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,7 +4,11 @@ | |||
| 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: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -113,6 +113,8 @@ Core and Builtins | |||
| 113 | 113 | Library | |
| 114 | 114 | ------- | |
| 115 | 115 | ||
| 116 | + - Issue #9021: Add an introduction to the copy module documentation. | ||
| 117 | + | ||
| 116 | 118 | - Issue #6005: Examples in the socket library documentation use sendall, where | |
| 117 | 119 | relevant, instead send method. | |
| 118 | 120 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments