Skip to content

Commit

Permalink
Fixed typo in linear_search.py
Browse files Browse the repository at this point in the history
The documentation comment said "binary search", not "linear search"
  • Loading branch information
michaalbert authored Aug 30, 2016
1 parent 8e98649 commit 7bdcd08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion searches/linear_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


def linear_search(sequence, target):
"""Pure implementation of binary search algorithm in Python
"""Pure implementation of linear search algorithm in Python
:param sequence: some sorted collection with comparable items
:param target: item value to search
Expand Down

0 comments on commit 7bdcd08

Please sign in to comment.