Skip to content

Commit

Permalink
minor docstring edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain MARIE committed Nov 9, 2023
1 parent 3407739 commit bb11762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/makefun/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -816,8 +816,8 @@ def wraps(wrapped_fun,
**attrs)`
In other words, as opposed to `@with_signature`, the metadata (doc, module name, etc.) is provided by the wrapped
`wrapped_fun`, so that the created function seems to be identical (except possiblyfor the signature).
Note that all options in `with_signature` can still be overrided using parameters of `@wraps`.
`wrapped_fun`, so that the created function seems to be identical (except possibly for the signature).
Note that all options in `with_signature` can still be overridden using parameters of `@wraps`.
The additional `__wrapped__` attribute is set on the created function, to stay consistent
with the `functools.wraps` behaviour. If the signature is modified through `new_sig`,
Expand Down

0 comments on commit bb11762

Please sign in to comment.