bronx.syntax.decorators

Useful decorators.

Functions

bronx.syntax.decorators.disabled(f)[source]
bronx.syntax.decorators.nicedeco(decorator)[source]

A decorator of decorator, this decorator enforces that the resulting decorated functions looks like the original one.

bronx.syntax.decorators.nicedeco_plusdoc(doc_bonus)[source]

A decorator of decorator, this decorator enforces that the resulting decorated functions looks like the original one but an extra bit of documentation is added.

bronx.syntax.decorators.printargs(f)[source]
bronx.syntax.decorators.secure_getattr(f)[source]
bronx.syntax.decorators.timelimit(logger, nbsec)[source]

This decorator warn if the function is more than nbsec seconds long.

bronx.syntax.decorators.unicode_filter(f)[source]