summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/documentation.md6
-rw-r--r--src/tests/documentation.py4
2 files changed, 5 insertions, 5 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.
diff --git a/src/tests/documentation.py b/src/tests/documentation.py
index 73d7e2e..ce3ae08 100644
--- a/src/tests/documentation.py
+++ b/src/tests/documentation.py
@@ -1150,8 +1150,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.