From 7bdcd08996175df54474bb5775386fe1cdda7338 Mon Sep 17 00:00:00 2001 From: NotAName Date: Tue, 30 Aug 2016 21:06:49 +0200 Subject: [PATCH] Fixed typo in linear_search.py The documentation comment said "binary search", not "linear search" --- searches/linear_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searches/linear_search.py b/searches/linear_search.py index f42810092..24479e45b 100644 --- a/searches/linear_search.py +++ b/searches/linear_search.py @@ -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