flatten#

flatten(obj, result=None)[source]#

Return flattened version of (possibly nested) iterable object.