On Apr 25, 4:34 am, Michele Simionato <michele.simion...@gmail.com>
wrote:
> which has some feature you may like. For instance,
> there is a weak form of pattern matching built-in:
>
> >>> head, *tail = [1,2,3] # Python 3.0 only!
> >>> head
> 1
> >>> tail
>
> [2, 3]

Good seeing yet another long time Perl feature finally brought in. ;)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to