Skip to content

Commit f77f4cc

Browse files
authored
Update interpolation_search.py
1 parent 6c9fecc commit f77f4cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygorithm/searching/interpolation_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def search(_list, target):
2121
"""
2222

2323
if type(_list) is not list:
24-
raise TypeError("interpolation search only excepts lists, not {}".format(str(type(_list))))
24+
raise TypeError("interpolation search only expects lists, not {}".format(str(type(_list))))
2525

2626
# First element
2727
low = 0

0 commit comments

Comments
 (0)