function got multiple values for keyword argument for value

John Gordon gordon at panix.com
Wed Oct 30 17:14:23 EDT 2013


In <3c5cfc8d-885e-439d-8e66-5c7630e00cb8 at googlegroups.com> kavithabhaskaran2013 at gmail.com writes:

> 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 dont follow why I get it when the number of arguments I am calling with the function call match the parameters in the definition.

What type is "value" expected to be?  A single item, a list, a dict, etc?

-- 
John Gordon         Imagine what it must be like for a real medical doctor to
gordon at panix.com    watch 'House', or a real serial killer to watch 'Dexter'.




More information about the Python-list mailing list