diff options
| author | Baptiste Mispelon <bmispelon@gmail.com> | 2022-01-10 08:31:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-10 08:31:43 +0100 |
| commit | 3d7ac6420c0ff23305bc50c69c419c4ed5d2a838 (patch) | |
| tree | 188d8a22bf5902b43ee9f9a6e1b725562793d051 /docs/ref | |
| parent | 3430093a4698b640aa9e501ce2a02e090e77f7ae (diff) | |
Simplified @stringfilter decorator and Library with unwrap().
Nowadays we can use inspect.unwrap() to retrieve the innermost function
object when needed, and most of the uses of _decorated_function were to
access the original __name__ which is not needed because
@functools.wraps sets that attribute correctly.
Diffstat (limited to 'docs/ref')
0 files changed, 0 insertions, 0 deletions
