undesired traceback

Glen Starchman glen at enabledventures.com
Sun Aug 13 15:19:04 EDT 2000


def __init__(self):


etoffi at softhome.net wrote:

> why is this code giving me a traceback?
> (TypeError: No arguments expected)
>
> class Foo:
>         def __init__():
>                 pass
>
> f = Foo()
>
> --
> etoffi

--
---------------------------------
Glen Starchman
Founder/CTO
Enabled Ventures, LLC
Create. Nurture. Sustain.
tel: 917.402.0497 (NY)
     206.227.1796 (Seattle)
fax: 646.349.2545 (NY)
---------------------------------






More information about the Python-list mailing list