"Nader Alrawahi" <[EMAIL PROTECTED]> wrote
> 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?
No, Python does not support protected.
However a common conventionis to use a single underscore
before
Hello everyone,
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