Pythonification of the asterisk-based collection packing/unpacking syntax

Chris Angelico rosuav at gmail.com
Sat Dec 24 10:01:04 EST 2011


On Sun, Dec 25, 2011 at 1:45 AM, Eelco <hoogendoorn.eelco at gmail.com> wrote:
> Can you give an example of a construct in python where two whitespace
> delimited identifiers are legal?

What do you mean? Two identifiers, separated only by whitespace and no
keyword or operator?

def foo():
    asdf
    qwer

Perfectly legal, two statements that probably don't do anything useful though.

ChrisA



More information about the Python-list mailing list