Skip to content

Commit 51aba1b

Browse files
committed
Remove complicated explanation in "examples/fib.py"
1 parent 005ed8f commit 51aba1b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/fib.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ def fib(n):
2525
fib = memoize(fib)
2626

2727

28-
# Provide a cache with initial values to `memoize`. This works as a decorator
29-
# because `memoize` is curried (see `toolz.curry`) by default.
28+
# Provide a cache with initial values to `memoize`
3029
@memoize(cache={0: 0, 1: 1})
3130
def fib(n):
3231
""" Functional definition of Fibonacci numbers with initial terms cached.

0 commit comments

Comments
 (0)