Would love to see some example queries to debug if you have them handy. (You can check your search history https://www.google.com/history/ to jog your memory if you have it turned on.)
I don't know - if I had to guess what the query 'python list popleft' meant, it would be 'how to pop the leftmost element from a list', even though the answer does not contain the word 'popleft'.
In this case it does, but very often doesn't. It seems to me that this happens mostly with rapidly changing websites, as if the cache showed a somewhat later state than when it was indexed.