pymel.util.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.cross

Next topic

pymel.util.decorator

Core

Core Modules

Other Modules

This Page