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.You are not allowed to attach a file to this page.