def __setitem__(self, cls, value):
        """Sets a new Serialiser for the given class."""
        m_n = object_name(cls)
        self._sers[m_n] = value
def __setitem__ ( self , cls , value ) : m_n = object_name ( cls ) self . _sers [ m_n ] = value
Sets a new Serialiser for the given class.