Re: problems binding a dictionary

2005-12-10 Thread vida00
[EMAIL PROTECTED] wrote: > this has to be a very silly thing. > > I have a function foo taking a dictionary as parameters. i.e.: def > foo(**kwargs): pass > when I call foo(param1='blah',param2='bleh',param3='blih') everything > is fine. > but when I do: > >>> def foo(**kwargs): > ... pass > .

problems binding a dictionary

2005-12-10 Thread vida00
this has to be a very silly thing. I have a function foo taking a dictionary as parameters. i.e.: def foo(**kwargs): pass when I call foo(param1='blah',param2='bleh',param3='blih') everything is fine. but when I do: >>> def foo(**kwargs): ... pass ... >>> d=dict(param1='blah',param2='bleh',par

Re: newbie class question

2005-11-23 Thread vida00
[EMAIL PROTECTED] wrote: > Hi, > I scouted the ng for someone w/ a similar problem and couldn't find > one, so I might be thinking about this probable non-issue in a wrong > way. > > What I am trying to accomplish should be pretty self explanatory when > looking at the following: > > >>> class heh

newbie class question

2005-11-23 Thread vida00
Hi, I scouted the ng for someone w/ a similar problem and couldn't find one, so I might be thinking about this probable non-issue in a wrong way. What I am trying to accomplish should be pretty self explanatory when looking at the following: >>> class heh(object): ... def __init__(self): ...