Catalan numbers: Difference between revisions
Content deleted Content added
Line 1,603:
def memoized(key):
# Returned, new, memoized version of decorated function
if key not in cache:
return functools.update_wrapper(memoized, func)
|