[Tutor] _init_ from manuals

Aurélio Magalhães Dias amd@atlas.ucpel.tche.br
Wed, 21 Aug 2002 19:09:25 -0300 (BRT)


On Wed, 21 Aug 2002, Andrea Valle wrote:

> Dear all,
> I am starting with classes. Sorry, maybe something obvious.
> Reading the html manual I copied this example:
>
> >>> class Complex:
> 	def _init_(self, realpart, imagpart):

The problem is that init has two underscores instead of one

Aurélio.