# one might have tried to access something that doesn't exist # inside the object sample = [1, 2] sample.append(3) sample.push(3) # This raises AttributeError saying # push doesn't exist inside an object of list