None weirdness

Duncan Booth duncan at rcp.co.uk
Mon Dec 2 09:48:12 EST 2002


Gonçalo Rodrigues <op73418 at mail.telepac.pt> wrote in 
news:tcrmuu48t418hjr5uu09ugpdhcgekatg6n at 4ax.com:

> a = func()[0]
> 
> This is the Pythonic way.

or:

a, ignored = func()

Clear and it says what it means...



More information about the Python-list mailing list