* Jorgen Bodde <[EMAIL PROTECTED]> [070412 10:57]:
> Hi All,
> 
> Now that I am really diving into Python, I encounter a lot of things
> that us newbies find difficult to get right. I thought I understood
> how super() worked, but with 'private' members it does not seem to
> work. For example;
Rename your __baseMethod to _baseMethod.
Or call it as _A__baseMethod.

Basically __ just provokes name mangling.

Andreas
_______________________________________________
Tutor maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to