[Python-Dev] New syntax for 'dynamic' attribute access (original) (raw)
Marek "Baczek" Baczyński imbaczek at gmail.com
Tue Feb 13 00:24:31 CET 2007
- Previous message: [Python-Dev] New syntax for 'dynamic' attribute access
- Next message: [Python-Dev] New syntax for 'dynamic' attribute access
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2007/2/12, Benji York <benji at benjiyork.com>:
Someone with OCaml background could confuse that with an assignmentCollin Winter wrote: > There's a connection, but I'd say it's the wrong one. In C, "x->y" > dereferences x, while in Python, "x->y" would dereference y. That's > just begging for trouble.
Then the syntax should obviously be "x<-y".
-- Marek Baczyński
- Previous message: [Python-Dev] New syntax for 'dynamic' attribute access
- Next message: [Python-Dev] New syntax for 'dynamic' attribute access
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]