function got multiple values for keyword argument for value

kavithabhaskaran2013 at gmail.com kavithabhaskaran2013 at gmail.com
Wed Oct 30 17:10:22 EDT 2013


search(lane,value=None,start=105,stop=115,GUI=True) -> function definition
search(lane,value=value,start=start, stop=stop,GUI=True) -> function call

I get the error "search()" got multiple keyword argument for value"

I understand when this error comes up - if I had a function definition like below

def func(a):
---

and if I called it as "func(0,a)" where I am passing 2 parameters instead of 1, I would end up with the error message.

I dont follow why I get it when the number of arguments I am calling with the function call match the parameters in the definition.

Please advise.



More information about the Python-list mailing list