summaryrefslogtreecommitdiff
path: root/documentation3.py
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2010-11-28 09:39:29 +0100
committerMichele Simionato <michele.simionato@gmail.com>2010-11-28 09:39:29 +0100
commitbbe48a4473a806342f3c22a192af3a8d62c81fad (patch)
tree148603758b140954c3787c1bdcba1df0fefe56e0 /documentation3.py
parentd5fe6439400b04265d471c5d4a526f103cd78fc2 (diff)
downloadpython-decorator-git-bbe48a4473a806342f3c22a192af3a8d62c81fad.tar.gz
Fixed func_globals in the decorated function (release 3.2.1)
Diffstat (limited to 'documentation3.py')
-rw-r--r--documentation3.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation3.py b/documentation3.py
index 94641ab..8e3c95d 100644
--- a/documentation3.py
+++ b/documentation3.py
@@ -486,7 +486,7 @@ $$identity_dec
<BLANKLINE>
(see bug report 1764286_ for an explanation of what is happening).
-Unfortunately the bug is still there, even in Python 2.6 and 3.0.
+Unfortunately the bug is still there, even in Python 2.7 and 3.1.
There is however a workaround. The decorator module adds an
attribute ``.undecorated`` to the decorated function, containing
a reference to the original function. The easy way to get