I have to confess that I don't understand why the following doesn't work.
If you see the problem I would love to to know what it is!
"""unmark the first parent of each node, moving up the tree
to the top level. print the list of unmarked parents."""
parent_lst = 
old_p = p = c.p
for nd in p.self_and_siblings():
if nd != old_p:
for parent in p.parents():
g.es("unmarked: " + str(parent_lst))
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.