get/set
William Dode
wilk at flibuste.net
Fri May 10 15:31:10 EDT 2002
Le Fri, 10 May 2002 12:34:47 -0500
"Mark McEahern" <marklists at mceahern.com> écrivait:
> [William Dode]
> > it means that if i want to keep working with python 2.1 i need to use
> > my own get/set method ?
>
> As Gerhard pointed out, pre-2.2 you had to resort to __getattr__ and
> __setattr__ for this kind of bondage.
Thanks all for your advices.
I think i don't need so much get method, and i will use __setattr__ when i
really need it...
bye
>
> Cheers,
>
> // mark
>
>
>
--
William Dodé - Informaticien Indépendant
http://www.flibuste.net
More information about the Python-list
mailing list