Python language suggestion

Erik Max Francis max at alcyone.com
Fri Jan 12 01:03:49 EST 2001


Andrew Dalke wrote:

> I believe he means
>   foo.'bar bletch'
> as an alternate way of doing
>   getattr(foo, 'bar bletch')
> 
> not as foo['bar bletch']

That's not what he said.  He explicitly used the subscription notation
and even said "dictionary-like objects."

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ God grant me to contend with those that understand me.
\__/ Thomas Fuller
    Maths reference / http://www.alcyone.com/max/reference/maths/
 A mathematics reference.



More information about the Python-list mailing list