diff options
author | Michele Simionato <michele.simionato@gmail.com> | 2019-03-18 08:22:29 +0100 |
---|---|---|
committer | Michele Simionato <michele.simionato@gmail.com> | 2019-03-18 08:22:29 +0100 |
commit | dfa9811f21b1fb81aa595384fcb3e58fc6f6805f (patch) | |
tree | e25a89b9eadcabb905be0ea529b4d6e2a726e66b | |
parent | d03ac47fd475c167534f99d4194229b05b70f616 (diff) | |
download | python-decorator-git-arg.tar.gz |
Fixed testarg
-rw-r--r-- | docs/documentation.md | 9 | ||||
-rw-r--r-- | src/tests/documentation.py | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/docs/documentation.md b/docs/documentation.md index f9fb43c..9bfe5b6 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -602,15 +602,6 @@ where ``restricted`` is a decorator factory defined as follows % (self.user, func.__name__)) ``` -By passing arguments to the decorator factory one gets Decorator objects -which are callables taking in input a function: - -```python ->>> restricted(User) -<Decorator restricted(<class '__main__.User'>,)> - -``` - ``decorator(cls)`` -------------------------------------------- diff --git a/src/tests/documentation.py b/src/tests/documentation.py index 08dc499..cafdf08 100644 --- a/src/tests/documentation.py +++ b/src/tests/documentation.py @@ -462,15 +462,6 @@ where ``restricted`` is a decorator factory defined as follows $$restricted -By passing arguments to the decorator factory one gets Decorator objects -which are callables taking in input a function: - -```python ->>> restricted(User) -<Decorator restricted(<class '__main__.User'>,)> - -``` - ``decorator(cls)`` -------------------------------------------- |