On Sun, May 15, 2011 at 8:53 PM, Gnarlodious <gnarlodi...@gmail.com> wrote: > Can someone please explain what I am doing wrong? > > Calling script: > > from Gnomon import GnomonBase > Gnomon=GnomonBase(3) > > > Called script: > > class GnomonBase(object): > def __init__(self, bench): > # do stuff > > But all I get is: > TypeError: __init__() takes exactly 1 positional argument (2 given) > > I don't understand, I am only sending one variable. What does it think > I am sending two?
Please post the *full* exception Traceback. Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-list