Starting with Classes - basic problem

alex goretoy agoretoy at gmail.com
Mon Feb 22 12:43:03 EST 2010


you need to define init with two underscores, I've made that mistake myself
long long time ago :)

def __init__

not def _init_

-Alex Goretoy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100222/0a1b738e/attachment-0001.html>


More information about the Python-list mailing list