fork download
def wrapper():
    wrapper.initial = 1
    
    def increase_initial(n):
        # Increase attribute of wrapper function
        wrapper.initial += n

    increase_initial(10)

    print wrapper.initial

# Call wrapper:
wrapper()
Success #stdin #stdout 0.02s 4676KB
stdin
Standard input is empty
stdout
11