"Wolfgang Rohdewald" <wolfg...@rohdewald.de> wrote in message news:mailman.1056.1263771299.28905.python-l...@python.org...
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.

--
Bartc
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to