English


One more Python entity which may appear in the context of Python functions and classes is a decorator. Essentially a decorator is an outer function so a scope idea could be used again. Here we have a distinctive background color for the decorator scope, a badge to reflect the nature of the scope and a familiar header with the decorator declaration and its comment.