[Tutor] Protected in Python
nalrawahi at gmail.com
Mon Apr 16 04:32:47 CEST 2007
I have been working on an object-oriented project using Python and I was
browsing through the manual looking for some information about data-hiding
in Python. We know that methods can be private or public , but is there a
way we can make them protected in Python, something similar to Java? maybe?
and if that so how does that work? I have been googling around and I found
= used internally by base and derived classes" , can someone please explain
further or point me to the right direction to search or read?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor