Re: Efficiently Split A List of Tuples
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: Efficiently Split A List of Tuples

From: Peter Hansen <peter@engcorp.com>
Date: Thu Jul 14 2005 - 18:49:08 CEST

Richard wrote:
> On Wed, 13 Jul 2005 20:53:58 -0400, Peter Hansen wrote:
>>a = ((1,2), (3, 4), (5, 6), (7, 8), (9, 10))
>>zip(*a)

> This seems to work. Thanks.
>
> Where do I find documentation on "*args"?

In the language reference: http://docs.python.org/ref/calls.html#calls

-Peter
Received on Thu Sep 29 16:57:13 2005