networkx.utils.consume

networkx.utils.consume(iterator)[source]

Consume the iterator entirely.