old_code/vargroup.py
def mkVIlist(itemPars, labclass='labdef'):
    """Make a list of VarItems from a list of (name, label, tooltip) tuples,
    for building VarGroups.
    """
    return [factory(t[0], t[1], labclass) if len(t) == 2 else
            factory(t[0], t[1], labclass, t[2]) for t in itemPars]
Make a list of VarItems from a list of (name, label, tooltip) tuples,
    for building VarGroups.
    
Make a list of VarItems from a list of (name, label, tooltip) tuples,
for building VarGroups.
Make a list of VarItems from a list of ( name label tooltip ) tuples for building VarGroups .
def mkVIlist(itemPars, labclass='labdef'):
    return [factory(t[0], t[1], labclass) if len(t) == 2 else
            factory(t[0], t[1], labclass, t[2]) for t in itemPars]
def mkVIlist ( itemPars , labclass = 'labdef' ) : return [ factory ( t [ 0 ] , t [ 1 ] , labclass ) if len ( t ) == 2 else factory ( t [ 0 ] , t [ 1 ] , labclass , t [ 2 ] ) for t in itemPars ]
Make a list of VarItems from a list of (name, label, tooltip) tuples,
for building VarGroups.
Make a list of VarItems from a list of ( name label tooltip ) tuples for building VarGroups .
"""Make a list of VarItems from a list of (name, label, tooltip) tuples,
    for building VarGroups.
    """
itemPars
labclass