diff --git a/source/PvL_05.rst b/source/PvL_05.rst index 0cfbe1f..376b8c7 100644 --- a/source/PvL_05.rst +++ b/source/PvL_05.rst @@ -538,7 +538,7 @@ starting position in the search string: :linenos: def find2(haystack, needle, start): - for index,letter in enumerate(haystack[start:]) + for index,letter in enumerate(haystack[start:]): if letter == needle: return index + start return -1