Skip to content

Commit 76fc83c

Browse files
Merge pull request #1 from Nitin-Pilkhwal/enhancement/comment-improvement
Update linearsearch.py
2 parents 9708dc3 + 87a973c commit 76fc83c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

competitivepython/searches/linearsearch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ def linear_search(arr, target):
77
return search
88
return -1
99
except Exception as e:
10-
logging.exception("An error occurred during binary search: %s", e)
10+
logging.exception("An error occurred during linear search: %s", e)
1111
return "An error occurred during linear search: {}".format(str(e))
1212

0 commit comments

Comments
 (0)