neat.STree.__getitem__

STree.__getitem__(index, **kwargs)[source]

Returns the node with given index, if no such node is in the tree, None is returned.

Parameters

index (int) – the index of the node to be found

Returns

Return type

neat.SNode or None