Skip to content

Commit 728e386

Browse files
committed
Updated Sorting.rst
1 parent 5c28a0f commit 728e386

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/Sorting.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ Features
3131
- Heap Sort (heap_sort)
3232
- Shell Sort (shell_sort)
3333

34+
* To see all the available functions in a module there is a `modules()` function available. For example,
35+
36+
.. code:: python
37+
38+
>>> from pygorithm.sorting import modules
39+
>>> modules.modules()
40+
['bubble_sort', 'bucket_sort', 'counting_sort', 'heap_sort', 'insertion_sort', 'merge_sort', 'quick_sort', 'selection_sort', 'shell_sort']
41+
3442
* For sorting:
3543
Remember ``sort()`` function takes its parameter as a list only.
3644

0 commit comments

Comments
 (0)