Function
zope.traversing.api.getParents

Signature

getParents(obj)

Documentation String

Returns a list starting with the given object's parent followed by each of its parents.

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