The documentation should be clear on the order in which values are returned. Currently, the order is different from what is documented.

By the way, what you are returning here is called a tuple in python. Read about the differences between lists and tuples here:
https://docs.python.org/2/tutorial/datastructures.html#tuples-and-sequences