iterate

function of dascore.utils.misc source

iterate(
    obj ,
)

Return an iterable from any object.

If a string, do not iterate characters, return str in tuple.

This is how iteration should* work in python.