code: def _clean(self, magic):
          
          if magic.lower() == 'o':
              self.magic = ''
          elif magic[:2].lower() == 'o:':
              self.magic = magic[2:]
          elif magic[:2].lower() == 'o.':
              self.ext = magic[1:]
docs: Given a magic string, remove the output tag designator.