redvypr.configdata.seq_iter¶
- redvypr.configdata.seq_iter(obj)¶
To treat dictsionaries and lists equally this functions returns either the keys of dictionararies or the indices of a list. This allows a index = seq_iter(data) for index in data:
data[index]
with index being a key or an int.
- Parameters:
obj –
- Returns:
list of indicies