iterable#

iterable(obj)[source]#

Return True if obj is iterable with a well-defined len().

Deprecated since version 2.6: This is deprecated and will be removed in NetworkX v3.0.