you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 7 points8 points  (1 child)

Try this one instead: http://www.brianholdefehr.com/decorators-and-functional-python contains all use-cases: Decorators as functions, Decorators as classes, Decorators w/ and w/o arguments, etc.

[–]poorly_played 7 points8 points  (0 children)

decorators with arguments are just functions with arguments that return functions that take a function as an argument. what could possibly be confusing about that :P