We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c522beb commit 996a53cCopy full SHA for 996a53c
pygorithm/fibonacci/__init__.py
@@ -1,2 +1,3 @@
1
from pygorithm.fibonacci import cache
2
from pygorithm.fibonacci import recursion
3
+from . modules import modules
pygorithm/fibonacci/modules.py
@@ -0,0 +1,13 @@
+import pkgutil
+def modules():
+ """
4
+ Find all functions in pygorithm.data_structures
5
6
+ import pygorithm.fibonacci
7
+ package = pygorithm.fibonacci
8
+ modules = []
9
+ for importer, modname, ispkg in pkgutil.iter_modules(package.__path__):
10
+ modules.append(modname)
11
+ modules.remove('modules')
12
+ modules.sort()
13
+ return modules
0 commit comments