__slots__ , private members and properties

Cristian Echeverria cer at vtr.net
Sat Mar 8 15:07:37 EST 2003


Is the atached code a good way to work with __slots__, private members 
and properties.
In the examples all the members are read-only and the code works, but 
I'am not sure this is the way to work with this features.

Cristian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tipocable.py
URL: <http://mail.python.org/pipermail/python-list/attachments/20030308/940f6037/attachment.ksh>


More information about the Python-list mailing list