code: def to_text(value):
      
  
      text = _by_value.get(value)
      if text is None:
          text = str(value)
      return text
docs: Convert rcode into text.
  
      @param value: the rcode
      @type value: int
      @rtype: string