O'Reilly logo
  • You Wang thinks this is interesting:

Python decorators—similar to the notion and syntax of annotations in Java—both addressed this specific need and provided a general tool for adding logic that manages both functions and classes, or later calls to them.

From

Cover of Learning Python, 5th Edition

Note

add wrapper logic to functions and classes in a simple syntax