def getParents(obj):
    """
        Returns a list starting with the given object's parent
        followed by each of its parents.

        :raises TypeError: if the context doesn't go all the way down
            to a containment root.
        """
