Will python never intend to support private, protected and public?
Christophe
chris.cavalaria at free.fr
Wed Sep 28 08:43:41 EDT 2005
Steven D'Aprano a écrit :
> For some reason, the original post never made it to my newsreader, so
> apologies for breaking threading by replying to a reply when I mean to
> answer the original post.
>
> On Wed, 28 Sep 2005 12:05:21 +0100, Simon Brunning wrote:
>
>
>>On 9/28/05, could ildg <could.net at gmail.com> wrote:
>
>
>>>Python is wonderful except that it has no real private and protected
>>>properties and methods.
>
>
> Do you know any language that has real private and protected attributes?
>
> There may be some. I don't know. But anyone who says "C++" is fooling
> themselves:
>
> #define private public
#undef private
:)
More information about the Python-list
mailing list