BarryJOgorman <[email protected]> writes: > class Person: > def _init_(self, name, job=None, pay=0):
def __init__(self, name, job=None, pay=0):
Note 2x _ before and after init.
--
John Bokma j3b
Hacking & Hiking in Mexico - http://johnbokma.com/
http://castleamber.com/ - Perl & Python Development
--
http://mail.python.org/mailman/listinfo/python-list
