def copy ( self ) : return self . __class__ ( self . _key , self . _load , self . _iteritems ( ) )
how to create copy of python ordered dictionary
Return a shallow copy of the sorted dictionary .
def copy(self):
        """Return a shallow copy of the sorted dictionary."""
        return self.__class__(self._key, self._load, self._iteritems())