Esempio n. 1
0
    def __copy__(self):
        """
        Forbid :class:`~iris._data_manager.DataManager` instance
        shallow-copy support.

        """
        name = type(self).__name__
        emsg = ('Shallow-copy of {!r} is not permitted. Use '
                'copy.deepcopy() or {}.copy() instead.')
        raise copy.Error(emsg.format(name, name))
Esempio n. 2
0
 def __deepcopy__(self, memo):
     raise copy.Error("Copying json_steam objects leads to a bad time")
Esempio n. 3
0
 def __copy__(self):
     raise copy.Error("Copying json_steam objects leads to a bad time")