diff options
-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)`` -------------------------------------------- |