Skip to content
Pybites

Pybites

  • Training
  • Certifications
  • Community
  • Code Platform
  • Articles
  • Search

Articles on deepcopy

Concepts

Don’t let mutability of compound objects fool you!

By Bob Belderbos on 7 March 2017

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.

PDM Program

  • Log In
  • About PDM

PyBites

  • Catalogue
  • Podcast
  • Articles
  • Platform
  • Community
  • Merch

Resources

  • About Us
  • Contact Us
  • Sitemap
  • Privacy Policy

Mailing List

Subscribe to our mailing list and receive our Python Tips ebook for free.

  • Twitter
  • LinkedIn
  • Facebook
  • YouTube
  • Github
  • RSS
Powered by coffee, © 2026 PyBites.