

def __str__(self):
    if ((self.display_name is None) and (len(self.addresses) == 1)):
        return str(self.addresses[0])
    disp = self.display_name
    if (disp is not None):
        nameset = set(disp)
        if (len(nameset) > len((nameset - parser.SPECIALS))):
            disp = parser.quote_string(disp)
    adrstr = ', '.join((str(disp) for x in self.addresses))
    adrstr = ((' ' + adrstr) if adrstr else adrstr)
    return '{}:{};'.format(disp, adrstr)

dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/future/backports/email/headerregistry.py Group.__str__/VarMisuse@110/125 `x`->`disp`