Shallow vs Deep Copying of Python Objects – Real Python
realpython.com · saved by 1 readers
What's the difference between a shallow and a deep copy of a Python object? Learn how to clone arbitrary objects in Python, including your own custom classes.