Private data

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Sun Mar 18 06:26:13 EDT 2007


En Sat, 17 Mar 2007 13:31:01 -0300, Dustan <DustanGroups at gmail.com>  
escribió:

> http://dustangroups.googlepages.com/privateattributesinpython
>
> This is something that I just threw together this morning, after a
> eureka moment. It's a way of creating private class attributes and
> static function variables (I'm not 100% sure if that's the correct
> terminology, but you get what I mean). I haven't tried to create
> private instance attributes, mainly because it would just be too
> difficult, and it would be awful syntax. I'm not considering actually
> using this, but I do have a couple questions about it.

I feel so dumb, but I can't see how to use it, or what's for. Perhaps an  
example?

-- 
Gabriel Genellina




More information about the Python-list mailing list