Deprecate self

Steve Purcell stephen_purcell at yahoo.com
Wed Apr 18 12:26:02 EDT 2001


D-Man wrote:
> It doesn't work quite as nicely with inner classes though :

Probably the following will work:

            Bar.this.doSomething() ;

instead of
            this.doSomething() ;

Anyway, Jikes isn't the most reliable java compiler when it comes to
inner classes. Your example will probably work fine with javac.

-Steve

-- 
Steve Purcell, Pythangelist
Get testing at http://pyunit.sourceforge.net/
Any opinions expressed herein are my own and not necessarily those of Yahoo




More information about the Python-list mailing list