summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@gmail.com>2014-04-28 22:03:42 -0700
committerJoshua Harlow <harlowja@gmail.com>2014-04-28 22:03:42 -0700
commit2606da4a5cda7d72445b3a043194b7da437c0533 (patch)
tree1d69452963435ced22542c5b49d832949a045c91
parent941c381f0201e99197e0e14fcf304b6107fb6739 (diff)
downloadsix-2606da4a5cda7d72445b3a043194b7da437c0533.tar.gz
Adjust to behave like 3.4 behaves
-rw-r--r--six.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/six.py b/six.py
index f6f680b..56a64d0 100644
--- a/six.py
+++ b/six.py
@@ -636,7 +636,7 @@ if sys.version_info[0:2] < (3, 2):
def wraps(fn):
def wrapper(f):
f = functools.wraps(fn)(f)
- f.__wrapped__ = getattr(fn, '__wrapped__', fn)
+ f.__wrapped__ = fn
return f
return wrapper
else: