Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!mauve.octanews.net!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail From: Ben Finney Newsgroups: comp.lang.python Subject: Re: scope of function parameters References: <94fdk7FihlU1@mid.individual.net> <87tycd89qc.fsf@benfinney.id.au> <4DE3495D.9080309@gmail.com> <4DE35E87.8060208@gmail.com> X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc X-Post-From: Ben Finney Date: Mon, 30 May 2011 19:17:32 +1000 Message-ID: <87ei3g8s43.fsf@benfinney.id.au> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:MER+IQUKgNwDNFiLPeTak2dAags= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Lines: 17 Organization: Unlimited download news at news.astraweb.com NNTP-Posting-Host: 1b00b99a.news.astraweb.com X-Trace: DXC=eD[4?c84U@8UH[0COH:iH0L?0kYOcDh@:Xb<8`kRh<;0_Uem[O7iim;]G;2>V^?kW3bEW9A[5UK?5NZ[SL`C\Kg39Qe5aUbNWK0 Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:6641 Laurent Claessens writes: > Le 30/05/2011 11:02, Terry Reedy a écrit : > > Try 5 .__add__(6) > > What is the rationale behind the fact to add a space between "5" and > ".__add__" ? > Why does it work ? Try asking it the other way around. Why doesn't ‘5.__add__(6)’, without the space, work? -- \ “Telling pious lies to trusting children is a form of abuse, | `\ plain and simple.” —Daniel Dennett, 2010-01-12 | _o__) | Ben Finney