human
how to make method into decorator in Python.
assistant
Here is a Python program to make method into a decorator

import decorator

def decorator(func):
    """Decorator."""
    def wrapper(*args, **kwargs):
        return func(*args, **kwargs)
    return wrapper

# Enter the function

def func():
    print("Hello")

# Calling the function
print((decorator(func)()))

#Example Output
# Hello
# None

#Remember to inspect code for bugs.