get/set

Mark McEahern marklists at mceahern.com
Fri May 10 13:34:47 EDT 2002


[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.

Cheers,

// mark






More information about the Python-list mailing list