summaryrefslogtreecommitdiff
path: root/docs/documentation.md
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2021-04-02 08:08:47 +0200
committerMichele Simionato <michele.simionato@gmail.com>2021-04-02 08:08:47 +0200
commited0319b930b4f483f18a7033a8bcd5f63bac96ff (patch)
treea9cc06e05633735e348e3126d98208c2b49f044b /docs/documentation.md
parentfad5c262b967e59120bcde80f3b49e37a429721c (diff)
downloadpython-decorator-git-ed0319b930b4f483f18a7033a8bcd5f63bac96ff.tar.gz
Updated the docs
Diffstat (limited to 'docs/documentation.md')
-rw-r--r--docs/documentation.md6
1 files changed, 3 insertions, 3 deletions
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.