Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Once you got a list of objects, and you want to make a deep copy of them...
Output (Python version):
The deepcopy module avoids recursive copy by keeping a memory of copied objects. If the some of the objects are with the same id, the deepcopied objects will share the same, too.
Output (Python version):
[[1], []]