[Python-Dev] New syntax for 'dynamic' attribute access (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Tue Feb 13 11:22:48 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 ]
Georg Brandl schrieb:
a.([b]) No. (you can't write a([b]) today)
Actually, you can, but it means something
a . [ b ] Yes. (you can write a . b today)
OTOH, you can't write
x + = 2
or
a = 2 * * 4
so it's not that obvious that .[ should be two tokens.
Regards, Martin
- 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 ]