code: def _select_graphic_rendition(self, *attrs):
          
  
          if len(attrs) == 0:
              # No arguments means that we're really trying to do a reset.
              attrs = [0]
  
          for attr in attrs:
              self._set_attr(attr)
docs: Set the current text attribute.