# skbio.core.tree.TreeNode.postorder¶

TreeNode.postorder(include_self=True)[source]

Performs postorder iteration over tree.

This is somewhat inelegant compared to saving the node and its index on the stack, but is 30% faster in the average case and 3x faster in the worst case (for a comb tree).

Parameters: include_self : bool include the initial node if True GeneratorType Yields successive TreeNode objects

>>> from skbio.core.tree import TreeNode