code: def textcontent(self, cls='current', correctionhandling=CorrectionHandling.CURRENT):
          
          if cls == 'original': correctionhandling = CorrectionHandling.ORIGINAL #backward compatibility
          if correctionhandling in (CorrectionHandling.CURRENT, CorrectionHandling.EITHER):
              for e in self:
                  if isinstance(e, New) or isinstance(e, Current):
                      return e.textcontent(cls,correctionhandling)
          if correctionhandling in (CorrectionHandling.ORIGINAL, CorrectionHandling.EITHER):
              for e in self:
                  if isinstance(e, Original):
                      return e.textcontent(cls,correctionhandling)
          raise NoSuchText
docs: See :meth:`AbstractElement.textcontent`