def _iterable_not_string(obj):
return isinstance(obj, abc.Iterable) and not isinstance(obj, str)<EOL>
Check if the object is an iterable but not a string.

Parameters
----------
obj : The object to check.

Returns
-------
is_iter_not_string : bool
    Whether `obj` is a non-string iterable.

Examples
--------
>>> _iterable_not_string([1, 2, 3])
True
>>> _iterable_not_string("foo")
False
>>> _iterable_not_string(1)
False