LANGUAGE » PYTHON
Decorator
Usage 
It is good manners to use the functools' wraps.
python
from functools import wrapsDecorator declaration syntax:
python
def my_decorator(func):
  @wraps(func)
  def wrapper(*args, **kwargs):
    print('Start')
    result = func(*args, **kwargs)
    print('End')
    return result
  return wrapperUse it with:
python
@my_decorator
def hello_world():
  print('Hello World')
  return 0