summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2015-12-09 14:58:43 +0100
committerMichele Simionato <michele.simionato@gmail.com>2015-12-09 14:58:43 +0100
commit0734bb4caf32083152a1571742e07415af54747c (patch)
treead04a77a7888e2c83050496d1b1056290bef1616 /src/tests
parent80b715c4941af92ec95a8806fad16e4824cb71a9 (diff)
downloadpython-decorator-git-0734bb4caf32083152a1571742e07415af54747c.tar.gz
Fixed code-block::
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/documentation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/documentation.py b/src/tests/documentation.py
index 81409fc..b704b91 100644
--- a/src/tests/documentation.py
+++ b/src/tests/documentation.py
@@ -1011,7 +1011,7 @@ arguments, if one of such arguments has the same name used in the
caller function for the first argument. The quirk was reported by
David Goldstein and here is an example where it is manifest:
-.. code-block: python
+.. code-block:: python
>>> @memoize
... def getkeys(**kw):
@@ -1028,7 +1028,7 @@ keywork arguments. The solution is to change the name of the
first argument in `_memoize`, or to change the implementation as
follows:
-.. code-block: python
+.. code-block:: python
def _memoize(*all_args, **kw):
func = all_args[0]