[Tutor] What is __weakref__ ?

Karim karim.liateni at free.fr
Tue Jan 18 20:16:17 CET 2011


On 01/18/2011 03:38 PM, bob gailer wrote:
>
>     def __getattr__(self, name):
>         return self.enums[name]
>
> Note this does not handle the upper/lower case issue.

Thanks for the trick!

works perfect!

Regards
Karim


More information about the Tutor mailing list