(self, name, cls)
Register cls as the specialized class for handling "name" headers.
Register cls as the specialized class for handling "name" headers.
Register cls as the specialized class for handling name headers .
def map_to_type(self, name, cls):
        """Register cls as the specialized class for handling "name" headers.

        """
        self.registry[name.lower()] = cls
def map_to_type ( self , name , cls ) : self . registry [ name . lower ( ) ] = cls