def map_to_type(self, name, cls):
        self.registry[name.lower()] = cls
Register cls as the specialized class for handling "name" headers.
dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/future/backports/email/headerregistry.py/HeaderRegistry.map_to_type