Skip to content

Add function that returns a list of all functions in their respective category - #10

Merged
OmkarPathak merged 1 commit into
OmkarPathak:masterfrom
vhag:master
Aug 8, 2017
Merged

Add function that returns a list of all functions in their respective category#10
OmkarPathak merged 1 commit into
OmkarPathak:masterfrom
vhag:master

Conversation

@vhag

@vhag vhag commented Aug 8, 2017

Copy link
Copy Markdown
Contributor

This is a resubmission of the previous pull request. Here is the description:

This new function in pygorithm.sorting and pygorithm.search returns a list of all functions in pygorithm.sorting and pygorithm.search.

Example usage:

>>> from pygorithm.sorting import modules
>>> modules()
['bubble_sort', 'bucket_sort', 'counting_sort', 'heap_sort', 'insertion_sort', 'merge_sort', 'quick_sort', 'selection_sort', 'shell_sort']

This will make it easier for users to see what functions are available to them without looking at the entire source code or documentation.

@OmkarPathak
OmkarPathak merged commit 57e93ef into OmkarPathak:master Aug 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants