[Python-Dev] Extending tuple unpacking

Delaney, Timothy (Tim) tdelaney at avaya.com
Tue Oct 11 00:54:22 CEST 2005


Delaney, Timothy (Tim) wrote:

>     args = input.split()
> 
>     try:
>         cmd = arg.pop()
                ^^^ args ...
>     except IndexError:
>         cmd = ''

Can't even get it right myself - does that prove a point? <wink>

Tim Delaney


More information about the Python-Dev mailing list