Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #58121

Re: function got multiple values for keyword argument for value

From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: function got multiple values for keyword argument for value
Date 2013-10-30 21:14 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <l4rsrf$sjv$1@reader1.panix.com> (permalink)
References <3c5cfc8d-885e-439d-8e66-5c7630e00cb8@googlegroups.com>

Show all headers | View raw


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'.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

function got multiple values for keyword argument for value kavithabhaskaran2013@gmail.com - 2013-10-30 14:10 -0700
  Re: function got multiple values for keyword argument for value John Gordon <gordon@panix.com> - 2013-10-30 21:14 +0000
    Re: function got multiple values for keyword argument for value kavithabhaskaran2013@gmail.com - 2013-10-30 14:21 -0700
  Re: function got multiple values for keyword argument for value Chris Angelico <rosuav@gmail.com> - 2013-10-31 08:33 +1100
  Re: function got multiple values for keyword argument for value Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-30 21:34 +0000
    Re: function got multiple values for keyword argument for value KR <kavithabhaskaran2013@gmail.com> - 2013-10-30 14:50 -0700
      Re: function got multiple values for keyword argument for value KR <kavithabhaskaran2013@gmail.com> - 2013-10-30 14:56 -0700
        Re: function got multiple values for keyword argument for value Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-30 22:10 +0000
      Re: function got multiple values for keyword argument for value Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-30 22:08 +0000

csiph-web