From bbe48a4473a806342f3c22a192af3a8d62c81fad Mon Sep 17 00:00:00 2001 From: Michele Simionato Date: Sun, 28 Nov 2010 09:39:29 +0100 Subject: Fixed func_globals in the decorated function (release 3.2.1) --- documentation3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation3.py') diff --git a/documentation3.py b/documentation3.py index 94641ab..8e3c95d 100644 --- a/documentation3.py +++ b/documentation3.py @@ -486,7 +486,7 @@ $$identity_dec (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 -- cgit v1.2.1