Skip to content

Commit 0912049

Browse files
committed
Made few changes in the fibonnaci doc
1 parent e8d90a6 commit 0912049

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/Fibonacci.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Features
1919

2020
* Fibonacci implementations available:
2121
- Recursion
22-
- Cache (with save results of particular numbers)
22+
- Cache (which saves some recursions to avoid computation of same series again and again)
2323

2424
* Get the code used for any of the implementation
2525

@@ -30,6 +30,14 @@ Features
3030
code = fib_recursion.get_code()
3131
print(code)
3232
33+
* To see all the available functions in a module there is a `modules()` function available. For example,
34+
35+
.. code:: python
36+
37+
>>> from pygorithm.fibonacci import modules
38+
>>> modules()
39+
['cache', 'recursion']
40+
3341
Implementations API
3442
-------------------
3543

0 commit comments

Comments
 (0)