Efficiently Split A List of Tuples

Peter Hansen peter at engcorp.com
Thu Jul 14 07:59:12 CEST 2005


Joseph Garvin wrote:
> Peter Hansen wrote:
> 
>> (I believe this is something Guido considers an "abuse of *args", but 
>> I just consider it an elegant use of zip() considering how the 
>> language defines *args.  YMMV]
>>
>> -Peter
>>  
>>
> An abuse?! That's one of the most useful things to do with it. It's 
> transpose.

Note that it's considered (as I understand) an abuse of "*args", not an 
abuse of "zip".  I can see a difference...

-Peter



More information about the Python-list mailing list