Re: getattr
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Re: getattr

From: Fredrik Lundh <fredrik@pythonware.com>
Date: Fri Sep 30 2005 - 18:34:18 CEST

> if you want to control further accesses, your __getattr__ has to return a
> proxy object, and use a suitable syntax to get the final value.

message.insert(index, "your users have to ")

</F>
Received on Sat Oct 15 04:00:37 2005