Glossary: Python Beyond the Basics
deepcopy
Also written: copy.deepcopy
A function from the `copy` module that copies every level of nested data, so lists inside lists are not shared with the original.
Glossary: Python Beyond the Basics
Also written: copy.deepcopy
A function from the `copy` module that copies every level of nested data, so lists inside lists are not shared with the original.