On Sun, Oct 13, 2013 at 1:14 PM, Fidel N <[email protected]> wrote:

> Hey all:
> When we do:
>
> AList=[item.copy() for item in c.p.subtree()]
>
> Will AList have any specific order or could it be random order?
>

Most generators yield positions in outline order, officially defined as
the order of nodes in the outline when all nodes are expanded.


The "unique" generators obviously do not do that: all duplicate positions
are "missing".

Similarly, p.self_and_siblings(), p.children() and p.parents() yield
positions in an "expected" order.

When in doubt, consult the sources.  You can depend on the order.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to