def decode_return_list(codec='ascii'):
 def outer(f):
  def wrap(*args, **kwargs):
   return [res.decode(codec) for res in f(*args, **kwargs)]
  return wrap
 return outer

def decode_return_list ( codec = 'ascii' ) : def outer ( f ) : def wrap ( * args , ** kwargs ) : return [ res . decode ( codec ) for res in f ( * args , ** kwargs ) ] return wrap return outer
decodes a list return value .