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


Groups > comp.lang.python > #65117 > unrolled thread

Re: Why this throws an UnboundLocalError ?

Started byChris Angelico <rosuav@gmail.com>
First post2014-02-01 00:36 +1100
Last post2014-02-01 00:36 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Why this throws an UnboundLocalError ? Chris Angelico <rosuav@gmail.com> - 2014-02-01 00:36 +1100

#65117 — Re: Why this throws an UnboundLocalError ?

FromChris Angelico <rosuav@gmail.com>
Date2014-02-01 00:36 +1100
SubjectRe: Why this throws an UnboundLocalError ?
Message-ID<mailman.6205.1391175410.18130.python-list@python.org>
On Fri, Jan 31, 2014 at 10:05 PM, Marc Aymerich <glicerinu@gmail.com> wrote:
> I can't believe, all these years using Python and never encountered a
> situation where I needed to use global !

That might be an indication of good code design :)

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web