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
--
http://mail.python.org/mailman/listinfo/python-list
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
--
http://mail.python.org/mailman/listinfo/python-list