classes (was Re: Same again please for OOP)
aleaxit at yahoo.com
Thu Dec 28 05:19:54 EST 2000
"D-Man" <dsh8290 at rit.edu> wrote in message
news:mailman.977958972.13680.python-list at python.org...
> (Sorry if this posts twice, but I don't see my earlier post)
I did, and I'm just trying to make sure you see the answer (which
is why I'm also emailing this!) since it's my fault...
> However, I can't get this sample code to work. I keep getting
> AttributeError's or infinitely recursive __getattr__ function. If I
> remove one of the leading underscores it works fine. This is because
> of the current name mangling used to "enforce" private members.
> Am I missing something here, or should I only use 1 leading
My bad -- ONE leading underscore is right. Sorry!
More information about the Python-list