Will python never intend to support private, protected and public?
Gregor Horvath
g.horvath at gmx.at
Thu Sep 29 06:52:48 EDT 2005
Paul Rubin schrieb:
>
> You could have a "friend" declaration like in C++, if you want to let
> some class see the private instance variables of another class.
Everything is said on this topic. There are two ligitimate solutions to
the problem of private instance variables. Its a matter of taste, and
mine is the pythonic one.
--
Greg
More information about the Python-list
mailing list