nn wrote: > Not only are you doing many function calls but you are assigning 12 > objects each time. Why not do this? > > for bio in bios.values(): > inSRC.add(bio)
That obviously makes sense, but I was trying to get away from the verbosity of: inSRC = set([]) inSRC = set([]) inEB = set([]) inWP = set([]) SRCfem = set([]) EBfem = set([]) WPfem = set([]) SRCmale = set([]) EBmale = set([]) WPmale = set([]) SRCun = set([]) EBun = set([]) WPun = set([]) -- http://mail.python.org/mailman/listinfo/python-list