On 22 July 2010 15:04, Bartosz Tarnowski <bartosz-tarnow...@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. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com