* Stage 1 * Finish restructuring, add checkboxes. * Minor format fixes * fixing broken link * fixing broken link * fixing README link * Fix multiples bad links * Fix links in reference/concepts/keywords/README.md * Correcting list description
577 B
577 B
Decorators
TODO: ADD MORE
- a higher-order function that takes another function as an argument. The "decorating" function extends the behavior of the "decorated" function without explicitly modifying it (i.e. it wraps or decorates it). Called in python by using the
@symbol and the function name ahead of the function being decorated. The example uses pythons built-inproperty()as a decorator (@property) to return a "compound" read-only instance property made up of two separate instance attributes. robot-simulator