Source
def text(self):
if self._name != 'comment':
ret = ''
size = len(self._text)
if size != 0:
for t in self._text:
ret += t
return ret
else:
return self.comment()
returns the text content.
def text(self):
if self._name != 'comment':
ret = ''
size = len(self._text)
if size != 0:
for t in self._text:
ret += t
return ret
else:
return self.comment()