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/2010-July/102198.html below:

[Python-Dev] Set the namespace free!

[Python-Dev] Set the namespace free! [Python-Dev] Set the namespace free!Xavier Morel python-dev at masklinn.net
Thu Jul 22 15:14:52 CEST 2010
On 2010-07-22, at 14:45 , Simon Brunning wrote:

> On 22 July 2010 15:04, Bartosz Tarnowski <bartosz-tarnowski at 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.
getattr(elem, 'param') I believe, rather than elem.getattr('param')
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