summaryrefslogtreecommitdiff
path: root/Cython/Utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Utils.py')
-rw-r--r--Cython/Utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cython/Utils.py b/Cython/Utils.py
index 23adef6a6..22f6db773 100644
--- a/Cython/Utils.py
+++ b/Cython/Utils.py
@@ -21,6 +21,7 @@ def cached_function(f):
if res is uncomputed:
res = cache[args] = f(*args)
return res
+ wrapper.uncached = f
return wrapper
def cached_method(f):