What is process that occurs for a while-loop to evaluate to False
on an empty list ?
For instance:
a=[1, 2, 3]
while a:
a.pop()
Essentially, I want to know which method or attribute of the list object the while
-loop is inspecting in order to decide wether to terminate or not.