Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #7535
| References | <20110613153702.GN2556@johnsons-web.com> <mailman.179.1307980527.11593.python-list@python.org> <4df63791$0$30002$c3e8da3$5496439d@news.astraweb.com> |
|---|---|
| Date | 2011-06-14 02:41 +1000 |
| Subject | Re: dummy, underscore and unused local variables |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.183.1307983283.11593.python-list@python.org> (permalink) |
On Tue, Jun 14, 2011 at 2:15 AM, Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote: > On Tue, 14 Jun 2011 01:55:04 +1000, Chris Angelico wrote: >> _ is special to IDLE. > > Not just IDLE. Also the vanilla Python command line interpreter. In fact, > you can even find the code that controls it: Sorry, my bad! I should have said "to the Python interactive interpreter", the code that backs IDLE and the command line interpreter. But in any case, it's a feature of the interactive that doesn't apply to scripts. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: dummy, underscore and unused local variables Chris Angelico <rosuav@gmail.com> - 2011-06-14 01:55 +1000
Re: dummy, underscore and unused local variables Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-06-13 16:15 +0000
Re: dummy, underscore and unused local variables Chris Angelico <rosuav@gmail.com> - 2011-06-14 02:41 +1000
csiph-web