[Python-Dev] Set the namespace free! (original) (raw)
Xavier Morel python-dev at masklinn.net
Thu Jul 22 15:14:52 CEST 2010
- Previous message: [Python-Dev] Set the namespace free!
- Next message: [Python-Dev] Set the namespace free!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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')
- Previous message: [Python-Dev] Set the namespace free!
- Next message: [Python-Dev] Set the namespace free!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]