(Apollogies to fuzzylollipop for replying to them rather than the list!)
 
Python does have ALREADY have an OFFICAL mechanism for private members,
prefix your names with _ or __. Both are ommited from autogenerated
docuementation and both are OFFICALLY not supposed to be used.

Could you elaborate on that a little or point me in the right direction to read up on it? I'm currently re-writing a large lump of my coding and trying to use best practice. I thought it was considered good practice to make stuff private (in this case using __ ) that wasn't intened to be accessed from outside the function/class?

Cheers for your help.

Wesley Brooks.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to