A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2007-February/071029.html below:

[Python-Dev] New syntax for 'dynamic' attribute access

[Python-Dev] New syntax for 'dynamic' attribute access [Python-Dev] New syntax for 'dynamic' attribute access"Martin v. Löwis" martin at v.loewis.de
Tue Feb 13 11:22:48 CET 2007
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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4