(self, separator=u"")
| 560 | string = property(getString, setString) |
| 561 | |
| 562 | def getText(self, separator=u""): |
| 563 | if not len(self.contents): |
| 564 | return u"" |
| 565 | stopNode = self._lastRecursiveChild().next |
| 566 | strings = [] |
| 567 | current = self.contents[0] |
| 568 | while current is not stopNode: |
| 569 | if isinstance(current, NavigableString): |
| 570 | strings.append(current.strip()) |
| 571 | current = current.next |
| 572 | return separator.join(strings) |
| 573 | |
| 574 | text = property(getText) |
| 575 |
nothing calls this directly
no test coverage detected