plasmapy.utils.decorators.helpers

Miscellaneous decorators for various package uses.

Functions

modify_docstring([func, prepend, append])

A decorator which programmatically prepends and/or appends the docstring of the decorated method/function.

preserve_signature(f)

A decorator for decorators, which preserves the signature of the function being wrapped.