Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #100882
| X-Received | by 10.66.141.102 with SMTP id rn6mr39203214pab.26.1451120190226; Sat, 26 Dec 2015 00:56:30 -0800 (PST) |
|---|---|
| X-Received | by 10.50.57.100 with SMTP id h4mr718998igq.6.1451120190193; Sat, 26 Dec 2015 00:56:30 -0800 (PST) |
| Path | csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!mv3no15373642igc.0!news-out.google.com!l1ni2835igd.0!nntp.google.com!mv3no21294978igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Sat, 26 Dec 2015 00:56:29 -0800 (PST) |
| In-Reply-To | <mailman.16.1451101299.11925.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=36.238.104.92; posting-account=G2sM6AoAAADOlDdo9rWD6sFkj3T5ULsz |
| NNTP-Posting-Host | 36.238.104.92 |
| References | <d070aa0d-e80f-4efb-a424-351737ddb2fc@googlegroups.com> <mailman.16.1451101299.11925.python-list@python.org> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <ffcd67b4-365b-44bb-87c1-38ff3f49d5ef@googlegroups.com> (permalink) |
| Subject | Re: A newbie quesiton: local variable in a nested funciton |
| From | jfong@ms4.hinet.net |
| Injection-Date | Sat, 26 Dec 2015 08:56:30 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Xref | csiph.com comp.lang.python:100882 |
Show key headers only | View raw
Ben Finney at 2015/12/26 UTC+8 11:42:08AM wrote: > The Python FAQ answers this, even using an example the same as yours > <URL:https://docs.python.org/3/faq/programming.html#why-am-i-getting-an-unboundlocalerror-when-the-variable-has-a-value>. > Thank you, Ben. It's amazing that you seem to know every piece of Python information hiding in the web:-) see this question listed in python core language's Q&A makes me feel better for I am not the only one who commit this kind of crime. I should read this Q&A throughly before going any further. --Jach
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
A newbie quesiton: local variable in a nested funciton jfong@ms4.hinet.net - 2015-12-25 19:06 -0800
Re: A newbie quesiton: local variable in a nested funciton Ben Finney <ben+python@benfinney.id.au> - 2015-12-26 14:41 +1100
Re: A newbie quesiton: local variable in a nested funciton jfong@ms4.hinet.net - 2015-12-26 00:56 -0800
Re: A newbie quesiton: local variable in a nested funciton Ben Finney <ben+python@benfinney.id.au> - 2015-12-26 20:37 +1100
Re: A newbie quesiton: local variable in a nested funciton Chris Angelico <rosuav@gmail.com> - 2015-12-26 14:44 +1100
Re: A newbie quesiton: local variable in a nested funciton jfong@ms4.hinet.net - 2015-12-26 01:07 -0800
Re: A newbie quesiton: local variable in a nested funciton Chris Angelico <rosuav@gmail.com> - 2015-12-26 20:49 +1100
Re: A newbie quesiton: local variable in a nested funciton jfong@ms4.hinet.net - 2015-12-26 20:05 -0800
Re: A newbie quesiton: local variable in a nested funciton jfong@ms4.hinet.net - 2015-12-26 20:11 -0800
Re: A newbie quesiton: local variable in a nested funciton Chris Angelico <rosuav@gmail.com> - 2015-12-27 17:32 +1100
Re: A newbie quesiton: local variable in a nested funciton jfong@ms4.hinet.net - 2015-12-27 17:02 -0800
Re: A newbie quesiton: local variable in a nested funciton Chris Angelico <rosuav@gmail.com> - 2015-12-27 17:22 +1100
csiph-web