Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22463

PyBites: Don't let mutability of compound objects fool you!

$
0
0

In this article I explain the difference between shallow versus deep copy with a working example. It's an important concept when working with compound objects.


Viewing all articles
Browse latest Browse all 22463

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>