From 19a06ef38d8caf369a734909191b810fb7be972c Mon Sep 17 00:00:00 2001 From: Michele Simionato Date: Sun, 15 Apr 2018 14:48:51 +0200 Subject: Updated docs [skip CI] --- src/tests/documentation.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/tests/documentation.py b/src/tests/documentation.py index 2da44c6..b54a3f3 100644 --- a/src/tests/documentation.py +++ b/src/tests/documentation.py @@ -437,7 +437,7 @@ that gives an idea of how you could manage permissions in a framework: $$Action -where `restricted` is a decorator factory defined as follows +where ``restricted`` is a decorator factory defined as follows $$restricted @@ -445,11 +445,11 @@ In general a decorator factory has a signature .. code-block:: python - def decfactory(func, param1=default1, .., paramN=defaultN, *args, **kw): + def decfactory(func, par1=default1, .., parN=defaultN, *a, **k): ... -Each parameter must have a default, so that `decfactory` can work -as an alias for `decfactory()`, i.e. the decorator in which are parameters +Each parameter must have a default, so that ``decfactory`` can work +as an alias for ``decfactory()``, i.e. the decorator in which all parameters have the default value. ``decorator(cls)`` -- cgit v1.2.1