python list pattern matching?

Peter Otten __peter__ at web.de
Fri May 29 02:35:33 EDT 2009


Terry Reedy wrote:

>  >>> a,b,*rest = list(range(10))

The list() call is superfluous.




More information about the Python-list mailing list