def outerFunction():


    class Helper:
        val = None
helper = Helper()

def innerFunction():
    helper.val = 'some value'
How do I access outer functions variables inside a closure(python 2.6)?