Accessors in Python (getters and setters)
Bruno Desthuilliers
onurb at xiludom.gro
Thu Jul 20 08:31:20 EDT 2006
mystilleef wrote:
(snip)
>
> __monitor_event is not supposed to be a write accessor. My point was
> show how you can change the state of an object internally without
> needing external access to it. Since some people are surprisingly
> claiming it is not possible.
I failed to see anyone making such a claim.
(snip)
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"
More information about the Python-list
mailing list