def my_decorator(func):

    def wrap_func(greeting):
        print('****')
        func(greeting)
        print('****')
    return wrap_func


@my_decorator
def hello(greeting):
    print(greeting)


hello('hello')

f44a5b600d912252598d685c3a2e4e274bcaf733
<mask token>

def my_decorator(func):

    def wrap_func(greeting):
        print('****')
        func(greeting)
        print('****')
    return wrap_func


<mask token>

def my_decorator(func):

    def wrap_func(greeting):
        print('****')
        func(greeting)
        print('****')
    return wrap_func


@my_decorator
def hello(greeting):
    print(greeting)


<mask token>

def my_decorator(func):

    def wrap_func(greeting):
        print('****')
        func(greeting)
        print('****')
    return wrap_func


@my_decorator
def hello(greeting):
    print(greeting)


hello('hello')
