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


Groups > comp.lang.python > #55594

Re: multiple values for keyword argument

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: multiple values for keyword argument
Date 2011-01-29 09:03 -0500
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-8F5CD8.09032829012011@news.panix.com> (permalink)
References <alpine.LSU.2.00.1101291200340.7991@Tux.site> <9f669337-6116-4442-9c7e-54b0051e33a2@8g2000prb.googlegroups.com> <alpine.LSU.2.00.1101291417350.7717@Tux.site> <8qijsgFgu1U1@mid.dfncis.de>

Show all headers | View raw


In article <8qijsgFgu1U1@mid.dfncis.de>,
 Frank Dierkes <Frank.Dierkes@googlemail.com> wrote:

> Naming the first parameter self is only a convention. It could be any 
> other name, too.

But it shouldn't.  The use of "self" is so universal that using anything 
else will just make your code more difficult for other people to 
understand.

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


Thread

Re: multiple values for keyword argument Roy Smith <roy@panix.com> - 2011-01-29 09:03 -0500
  Re: multiple values for keyword argument Simon Brunning <simon@brunningonline.net> - 2011-01-31 09:45 +0000
  Re: multiple values for keyword argument Ben Finney <ben+python@benfinney.id.au> - 2011-01-30 08:29 +1100
  Re: multiple values for keyword argument patty@cruzio.com - 2011-01-31 10:00 -0800
  Re: multiple values for keyword argument Ethan Furman <ethan@stoneleaf.us> - 2011-01-29 21:35 -0800
  Re: multiple values for keyword argument Jean-Michel Pichavant <jeanmichel@sequans.com> - 2011-02-01 11:27 +0100
  Re: multiple values for keyword argument Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-01-30 09:36 +0000
  Re: multiple values for keyword argument patty@cruzio.com - 2011-01-29 10:39 -0800
  Re: multiple values for keyword argument Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-01-29 23:45 +0000

csiph-web