Skip to content

KeyError when using a string new_sig in @wraps #90

@smarie

Description

@smarie
def f(a):
    return 2 * a

@wraps(f, new_sig="_results_bag()")
def g():
    return f(2)

raises a KeyError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions