Skip to content

    wraps

    Created by
    caputomarcos
    caputomarcos

    The wraps function is a decorator that can be used to preserve the metadata of a function when it is decorated. This can be particularly useful if you have a function that has important metadata, such as its name, docstring, or signature, and you want to preserve that metadata when the function is decorated.

    Preview