parents

all parents starting from the direct parent. Does not include the receiver file.

Receiver

File The file whose parents to list.

Return

A sequence of all parent directories of the receiver File.