From ed0319b930b4f483f18a7033a8bcd5f63bac96ff Mon Sep 17 00:00:00 2001 From: Michele Simionato Date: Fri, 2 Apr 2021 08:08:47 +0200 Subject: Updated the docs --- docs/documentation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/documentation.md') diff --git a/docs/documentation.md b/docs/documentation.md index 1b9760f..ace6a08 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -32,7 +32,7 @@ the Signature object works well enough that it is possible to fix the signature of a decorated function without resorting to "exec" tricks). The simplification gives a very neat advantage: in case of exceptions raised in decorated functions the traceback is nicer than it used to be. -That's counts more than a new feature in my book ;-) +That's counts as a new feature in my book ;-) What's New in version 4 ----------------------- @@ -1501,8 +1501,8 @@ penalty in your specific use case is to measure it. In the present implementation, decorators generated by ``decorator`` can only be used on user-defined Python functions, methods or coroutines. I have no interest in decorating generic callable objects. If you want to -decorate things like classmethods/staticmethods and general callables -- which I will never support in the decorator module - I suggest you +decorate things like classmethods/staticmethods and general callables - +which I will never support in the decorator module - I suggest you to look at the [wrapt](https://wrapt.readthedocs.io/en/latest/) project by Graeme Dumpleton. -- cgit v1.2.1