Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /