Logo Search packages:      
Sourcecode: zope-backtalk version File versions

def BackTalk::CommentableDocument::CommentableDocumentClass::doc_comment (   self,
  paragraph 
)

checks to see if the paragraph is a comment, and turns it
in to a Comment object if so 

Definition at line 128 of file CommentableDocument.py.

00128                                     :
        """ checks to see if the paragraph is a comment, and turns it
        in to a Comment object if so """
        top = paragraph.getColorizableTexts()[0]
        if not string.strip(top)[0:2] == "% ": return None
        subs = paragraph.getSubparagraphs()
        return Comment(top, subs)

    def doc_bullet(self, paragraph, expr = re.compile(r'\s*[-*o]\s+').match):


Generated by  Doxygen 1.6.0   Back to index