I was referring to feeding a list to sum (in this case, more instances can be found searching for `([`) instead of a generator.

Re. the `nodes` list that you brought up, I think code is clear as is.