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


Groups > comp.lang.python > #55764

Re: multiple values for keyword argument

Path csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <ethan@stoneleaf.us>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'avoiding': 0.05; 'instance': 0.05; 'numerical': 0.05; "'this": 0.09; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'myself,': 0.09; 'received:74.54.199': 0.09; 'received:74.54.199.50': 0.09; 'received:gator410.hostgator.com': 0.09; '~ethan~': 0.09; 'wrote:': 0.14; "'n'": 0.16; 'argv,': 0.16; 'experiments': 0.16; 'programmer,': 0.16; 'subject:keyword': 0.16; 'anyway.': 0.23; 'interpreted': 0.23; 'header:In-Reply-To:1': 0.23; 'posting': 0.24; 'creating': 0.25; 'accepting': 0.25; 'code': 0.25; "i'm": 0.28; 'instead': 0.28; "i'll": 0.29; 'to:addr :python-list': 0.31; 'this.': 0.31; 'it.': 0.32; 'header:User- Agent:1': 0.34; 'think': 0.37; 'charset:us-ascii': 0.37; 'aid': 0.37; 'said': 0.38; 'names': 0.38; 'subject:: ': 0.39; 'to:addr:python.org': 0.40; "it's": 0.40; 'received:hostgator.com': 0.62; 'yourself': 0.67; 'glad': 0.67; 'received:websitewelcome.com': 0.68; 'spanish': 0.71; 'hate': 0.72; 'received:69.56': 0.76; 'descriptive': 0.84; 'confusion.': 0.91
Date Sat, 29 Jan 2011 21:35:31 -0800
From Ethan Furman <ethan@stoneleaf.us>
User-Agent Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version 1.0
To python-list@python.org
Subject Re: multiple values for keyword argument
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> <roy-8F5CD8.09032829012011@news.panix.com> <4D443631.3000502@stoneleaf.us> <6f1dd6fbbc04d2788b2b191e3e407887.squirrel@cruziomail.cruzio.com>
In-Reply-To <6f1dd6fbbc04d2788b2b191e3e407887.squirrel@cruziomail.cruzio.com>
Content-Type text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding 7bit
X-AntiAbuse This header was added to track abuse, please include it with any abuse report
X-AntiAbuse Primary Hostname - gator410.hostgator.com
X-AntiAbuse Original Domain - python.org
X-AntiAbuse Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse Sender Address Domain - stoneleaf.us
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1465.1296365796.6505.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 82.94.164.166
X-Trace 1296365797 news.xs4all.nl 81474 [::ffff:82.94.164.166]:49102
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:55764

Show key headers only | View raw


patty@cruzio.com wrote:
>> I, myself, use the spanish word 'yo' instead (less keystrokes, I hate
>> 'self', and it amuses me); if I'm working with my numerical experiments
>> I'll use 'n' or 'x'... although, when posting sample code to c.l.py I do
>> try to use 'self' to avoid possible confusion.  :)
> 
> I am glad you said this.  I have been avoiding understanding this 'self',
> just accepting it :}  For the time being, since my programs I am creating
> are for my own use, I think I will make my own names up, that are
> descriptive to me as the programmer, it's all going to be interpreted
> anyway.  And the other email equating to C's argv, etc. - now I get it.

Careful about the names you make-up -- to aid yourself and others you 
don't want to have dozen's of different names that all basically mean 
'this instance that I'm currently working on'.

~Ethan~

Back to comp.lang.python | Previous | NextPrevious in thread | Next 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