[Tutor] Object, methods, class

Knacktus knacktus at googlemail.com
Sat Feb 26 19:17:03 CET 2011


Am 26.02.2011 18:49, schrieb Christopher Brookes:
> Hi,
> Is there in Python private/protected attributes in class like in other
> langage ?
Yes, there is. But it's protected by convention not compiler ;-).
Check out this:
http://docs.python.org/tutorial/classes.html#private-variables
>
> --
> Brookes Christopher.
>
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list