def _AppendNew(self, l1, l2):
    'Appends all items to l1 that are not in l2.'
    for e2 in l2:
        if (not any(((e1 is e2) for e1 in l1))):
            l1.append(e2)
Appends all items to l1 that are not in l2.
def _AppendNew(self, l1, l2):
    
    for e2 in l2:
        if (not any(((e1 is e2) for e1 in l1))):
            l1.append(e2)