diff options
| author | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-08-17 13:59:12 +0000 |
|---|---|---|
| committer | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-08-17 13:59:12 +0000 |
| commit | a4bc0d09f3d1f633a5780976d1f913e083c9564a (patch) | |
| tree | 1777475e88463b08438f0719be97cc087554eadd /sandbox/tibs/pysource2/reader.py | |
| parent | 60c69f8cf97125135948a3d35b7698ee80921137 (diff) | |
| parent | 2818db9a234cc37008c5f2bb0e821f9b1fa92de2 (diff) | |
| download | docutils-0.3.9.tar.gz | |
re-added docutils-0.3.9 tag one level deeper (without web/ and sandboxes/)docutils-0.3.9
git-svn-id: http://svn.code.sf.net/p/docutils/code/tags/docutils-0.3.9@3815 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'sandbox/tibs/pysource2/reader.py')
| -rw-r--r-- | sandbox/tibs/pysource2/reader.py | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sandbox/tibs/pysource2/reader.py b/sandbox/tibs/pysource2/reader.py deleted file mode 100644 index 6e4c7dfd2..000000000 --- a/sandbox/tibs/pysource2/reader.py +++ /dev/null @@ -1,31 +0,0 @@ -"""reader.py - docutils Reader for Python source code - -:Author: Tibs -:Contact: tibs@tibsnjoan.co.uk -:Revision: $Revision$ -:Date: $Date$ -:Copyright: This module has been placed in the public domain. -""" - -__docformat__ = 'reStructuredText' - -import docutils.readers -from docutils.readers.python.moduleparser import Node, parse_module -#from package import parse_package -from transform import make_document - -class Reader(docutils.readers.Reader): - """A Python source code specific Reader. - """ - - config_section = 'python reader' - config_section_dependencies = ('readers',) - - def parse(self): - """Parse `self.input` into a document tree.""" - - tree = parse_module(self.input,self.source.source_path) - self.document = document = make_document(tree) - #self.document = document = self.new_document() - #self.parser.parse(self.input, document) - document.current_source = document.current_line = None |
