UDict.get(key=['first', 'second']) # ['value for first key', 'value for second key']
UDict.get(index=[1, 3])
# also support for slice
UDict.get(index=slice(1, 9, 2))
UDict.get(value=['first value', 'second value']
It's very easy to create:
get(...):
...
r = []
if isinstance(key, (list, tuple)):
for i in key:
r.append(self.get(key=i))
... # (for another parameters)
Example:
It's very easy to create: