Fixed typo in linear_search.py

The documentation comment said "binary search", not "linear search"
This commit is contained in:
NotAName 2016-08-30 21:06:49 +02:00 committed by GitHub
parent 8e98649dc7
commit 7bdcd08996

View File

@ -13,7 +13,7 @@ from __future__ import print_function
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