Next / Previous / Contents / Shipman's homepage

19.2. Paragraph.addContent()

Appends a new phrase to the content.

birdnotes.py
# - - -   P a r a g r a p h . a d d C o n t e n t

    def addContent(self, tag, text):
        """Add another phrase to the phrase list.
        """
        self._phraseList.append((tag, text))