Ooops!

Erik Max Francis max at alcyone.com
Sun Aug 25 01:50:45 CEST 2002


Max M wrote:

> class Y:
> 
>      def __init__(self):
> 
>          thisIsAnInstanceVariable = 1

You clearly meant self.thisIsAnInstanceVariable here.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ There is nothing so subject to the inconstancy of fortune as war.
\__/ Miguel de Cervantes
    Church / http://www.alcyone.com/pyos/church/
 A lambda calculus explorer in Python.



More information about the Python-list mailing list