def do2048(func):
    def inner_func(*args, **kwargs):
        for i in xrange(2048):
            func(*args, **kwargs)
    return inner_func

def say_hello():
    print("hello")

new_func = do2048(say_hello)

new_func() # do2048(say_hello)()

a0ee8d4b24001a2e8da8e6090a48dfa370554cf7
def do2048(func):

    def inner_func(*args, **kwargs):
        for i in xrange(2048):
            func(*args, **kwargs)
    return inner_func


<mask token>

def do2048(func):

    def inner_func(*args, **kwargs):
        for i in xrange(2048):
            func(*args, **kwargs)
    return inner_func


def say_hello():
    print('hello')


<mask token>

def do2048(func):

    def inner_func(*args, **kwargs):
        for i in xrange(2048):
            func(*args, **kwargs)
    return inner_func


def say_hello():
    print('hello')


<mask token>
new_func()

def do2048(func):

    def inner_func(*args, **kwargs):
        for i in xrange(2048):
            func(*args, **kwargs)
    return inner_func


def say_hello():
    print('hello')


new_func = do2048(say_hello)
new_func()

def do2048(func):
    def inner_func(*args, **kwargs):
        for i in xrange(2048):
            func(*args, **kwargs)
    return inner_func

def say_hello():
    print("hello")

new_func = do2048(say_hello)

new_func() # do2048(say_hello)()
