instance vs class attributes

James Stroud jstroud at mbi.ucla.edu
Wed Mar 30 01:30:28 EST 2005


You need 2 underscores to mangle.

On Tuesday 29 March 2005 09:58 pm, runsun pan wrote:
> >>> shy._Shy__mangled_method()
>
> Ive been mangled!
>
>
> Hi Brian,
>
> can you explain how this could possibly work? First of all it's not
> standard python usage,
> and secondly it's not working on my computer...
>
> pan

-- 
James Stroud, Ph.D.
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/



More information about the Python-list mailing list