pymel.util.decoration.decorated

decorated(origFunc, newFunc, decoration=None)
Copies the original function’s name/docs/signature to the new function, so that the docstrings contain relevant information again. Most importantly, it adds the original function signature to the docstring of the decorating function, as well as a comment that the function was decorated. Supports nested decorations.

Previous topic

pymel.util.decoration.interface_wrapper

Next topic

pymel.util.decoration.decorator

Core

Core Modules

Other Modules

This Page