Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Top-level item. One document is exactly one file.
Documents consist of a list of paragraphs.

src/p/y/pyth-0.5.6/pyth/plugins/xhtml/reader.py   pyth(Download)
        # Make sure the document content doesn't use multi-lines
        soup = self.format(soup)
        doc = document.Document()
        if self.css_source:
            self.css = CSS(self.css_source)

src/p/y/pyth-HEAD/pyth/plugins/xhtml/reader.py   pyth(Download)
        # Make sure the document content doesn't use multi-lines
        soup = self.format(soup)
        doc = document.Document()
        if self.css_source:
            self.css = CSS(self.css_source)

src/p/y/pyth-0.5.6/pyth/plugins/rtf15/reader.py   pyth(Download)
    def build(self):
        doc = document.Document()
 
        ctx = DocBuilder(doc)
 

src/p/y/pyth-HEAD/pyth/plugins/rtf15/reader.py   pyth(Download)
    def build(self):
        doc = document.Document()
 
        ctx = DocBuilder(doc, self.clean_paragraphs)