Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #50695 > unrolled thread
| Started by | Jack Bates <tdhfwh@nottheoilrig.com> |
|---|---|
| First post | 2013-07-15 08:50 -0700 |
| Last post | 2013-07-15 08:50 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Is this a bug? Jack Bates <tdhfwh@nottheoilrig.com> - 2013-07-15 08:50 -0700
| From | Jack Bates <tdhfwh@nottheoilrig.com> |
|---|---|
| Date | 2013-07-15 08:50 -0700 |
| Subject | Is this a bug? |
| Message-ID | <mailman.4735.1373903859.3114.python-list@python.org> |
Hello,
Is the following code supposed to be an UnboundLocalError?
Currently it assigns the value 'bar' to the attribute baz.foo
foo = 'bar'
class baz:
foo = foo
Back to top | Article view | comp.lang.python
csiph-web