[Tutor] Tree again: iterator, yield, increase (treelib)

Chris chris2014 at postbox.xyz
Sun Oct 15 07:23:35 EDT 2017

On Sun, 15 Oct 2017 11:40:36 +1100
Cameron Simpson <cs at cskk.id.au> wrote:

> The loop starting on line 240 advances through all the immediate
> children of the current node, and calls __get_iter using each child's
> identifier as the "nid" parameter. In this way the whole tree is
> traversed.

Thank you for your quick reply. I inadvertently thought, this part is
only relevant when a filter is set by the user. I'll have a look again
at it.

- Chris

More information about the Tutor mailing list