From 6f3bf75e285f6632d5be0201d090ea158f18ad7c Mon Sep 17 00:00:00 2001 From: Michele Simionato Date: Mon, 16 Mar 2015 15:08:58 +0100 Subject: The decorated function dictionary is a copy of the original function dictionary --- documentation3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'documentation3.py') diff --git a/documentation3.py b/documentation3.py index 5be0cca..92adac8 100644 --- a/documentation3.py +++ b/documentation3.py @@ -788,8 +788,8 @@ the original function dictionary: >>> traced_f.attr1 'something' >>> traced_f.attr2 = "something different" # setting attr - >>> f.attr2 # the original attribute did change, works in Python 3.4 - 'something different' + >>> f.attr2 # the original attribute did not change + 'something else' Compatibility notes --------------------------------------------------------------- -- cgit v1.2.1