code: def dict_take(dict_, keys, *d):
      
      try:
          return list(dict_take_gen(dict_, keys, *d))
      except TypeError:
          return list(dict_take_gen(dict_, keys, *d))[0]
docs: get multiple values from a dictionary