summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2022-01-10 08:31:43 +0100
committerGitHub <noreply@github.com>2022-01-10 08:31:43 +0100
commit3d7ac6420c0ff23305bc50c69c419c4ed5d2a838 (patch)
tree188d8a22bf5902b43ee9f9a6e1b725562793d051 /docs/ref
parent3430093a4698b640aa9e501ce2a02e090e77f7ae (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