Python

4 thoughts
last posted Sept. 24, 2016, 8:46 a.m.

3 later thoughts

0

The copy module provides methods for both shallow and deep copy which allow you to copy mutable structures like dictionaries if you want to avoid mutating dictionaries that are passed to your code.