Skip to content

Commit cf0fa50

Browse files
authored
Update interpolation_search.py
1 parent f77f4cc commit cf0fa50

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 expects lists, not {}".format(str(type(_list))))
24+
raise TypeError("interpolation search only accpets lists, not {}".format(str(type(_list))))
2525

2626
# First element
2727
low = 0

0 commit comments

Comments
 (0)