Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!panix!gordon From: John Gordon Newsgroups: comp.lang.python Subject: Re: function got multiple values for keyword argument for value Date: Wed, 30 Oct 2013 21:14:23 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 15 Message-ID: References: <3c5cfc8d-885e-439d-8e66-5c7630e00cb8@googlegroups.com> NNTP-Posting-Host: panix2.panix.com X-Trace: reader1.panix.com 1383167663 29311 166.84.1.2 (30 Oct 2013 21:14:23 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 30 Oct 2013 21:14:23 +0000 (UTC) User-Agent: nn/6.7.3 Xref: csiph.com comp.lang.python:58121 In <3c5cfc8d-885e-439d-8e66-5c7630e00cb8@googlegroups.com> kavithabhaskaran2013@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@panix.com watch 'House', or a real serial killer to watch 'Dexter'.