Attachment 'document.py'

Download

   1 ### The document model, and true parser and emitter follow
   2         
   3 class DocNode:
   4     """A node in the Document."""
   5 
   6     def __init__(self, kind='', parent=None, content=None):
   7         self.children=[]
   8         self.parent = parent
   9         self.kind = kind
  10         self.content = content
  11         if not self.parent is None:
  12             self.parent.children.append(self)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2006-01-14 18:19:20, 0.4 KB) [[attachment:document.py]]
  • [get | view] (2006-01-14 18:19:12, 10.5 KB) [[attachment:emitter.py]]
  • [get | view] (2006-01-14 18:19:00, 15.0 KB) [[attachment:simple.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.