Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- result = ViewList()
- result.append(u'', '')
- result.append(u'', '<includedoc>')
- #import pdb; pdb.set_trace()
- docstringlines = prepare_docstring(open(doc_path).read())
- for i, line in enumerate(docstringlines):
- print i, self.doc+':docstring of '+self.module, u' '+line
- result.append(line, self.doc+':docstring of '+self.module, i)
- result.append(u'', '<includedoc>')
- node = paragraph()
- self.state.nested_parse(result, 0, node)
- return [node]
Add Comment
Please, Sign In to add comment