basic Class in Python

bartc bartc at
Mon Jan 18 16:03:57 CET 2010

"Wolfgang Rohdewald" <wolfgang at> wrote in message 
news:mailman.1056.1263771299.28905.python-list at
> On Monday 18 January 2010, BarryJOgorman wrote:
>> TypeError: object._new_() takes no parameters
>>     def _init_(self, name, job=None, pay=0):
> __init__ needs two underscores left and right

Any particular reason why two, and not one (or three)? In some fonts it's 
difficult to tell how many as they run together.


More information about the Python-list mailing list