Next / Previous / Contents / Shipman's homepage

19.3. Paragraph.genContent(): Generate the content

Generates the phrases in self as a sequence of 2-tuples.
# - - -   P a r a g r a p h . g e n C o n t e n t

    def genContent(self):
        """Generate the content of self.
        for  tag, text in self._phraseList:
            yield (tag, text)