@property<EOL><INDENT>def parents(self):<DEDENT>
entries = []<EOL>command = self<EOL>while command.parent is not None:<EOL><INDENT>command = command.parent<EOL>entries.append(command)<EOL><DEDENT>return entries<EOL>
Retrieves the parents of this command.

        If the command has no parents then it returns an empty :class:`list`.

        For example in commands ``?a b c test``, the parents are ``[c, b, a]``.

        .. versionadded:: 1.1.0