code: def repr_return(func):
      
  
      def repr_return_decorator(*args, **kwargs):
          ret = func(*args, **kwargs)
          if isinstance(ret, basestring):
              return ret
  
          if type(ret) in repr_map:
              return repr_map[type(ret)](ret)
  
          print('=' * 80 + '\n' +
                ' FAILED TO GET REPR RETURN for type (' +
                str(type(ret)) + '\n' + '=' * 80)
  
          return ret
  
      return repr_return_decorator
docs: This is a decorator to give the return value a pretty print repr