Searched refs:needle (Results 1 – 1 of 1) sorted by relevance
310 def find_prefix_at_end (haystack, needle): argument311 l = len(needle) - 1312 while l and not haystack.endswith(needle[:l]):