
July 22, 2010
12:45 p.m.
On 22 July 2010 15:04, Bartosz Tarnowski <bartosz-tarnowski@zlotniki.pl> wrote:
What should I do then, when the attribute is a reserver word?
You would use elem.getattr('param'). That's what it's for.
Let all reserved words be preceded with some symbol, i.e. "!" (exclamation mark).
Oh, God, no. This would be better off on the Python Ideas list. Well, it would be better of stone dead IMHO, but better ideas than here. -- Cheers, Simon B.