def copy(self):
        items = [(key, dict.__getitem__(self, key)) for key in self._keys]
        return self.__class__(items) #creates new odict and populates with items
Make a shallow copy of odict
dataset/ETHPy150Open ioflo/ioflo/ioflo/aid/odicting.py/odict.copy