/usr/lib64/python2.6/Demo/parser
NameSizeModeActions
docstring.py270644editdlrm
docstring.pyc1750644editdlrm
docstring.pyo1750644editdlrm
example.py57220644editdlrm
example.pyc72400644editdlrm
example.pyo72400644editdlrm
FILES910644editdlrm
README9130644editdlrm
simple.py290644editdlrm
simple.pyc2790644editdlrm
simple.pyo2790644editdlrm
source.py7410644editdlrm
source.pyc15840644editdlrm
source.pyo15840644editdlrm
test_parser.py11960755editdlrm
test_parser.pyc14540644editdlrm
test_parser.pyo14540644editdlrm
texipre.dat43480644editdlrm
unparse.py138780644editdlrm
unparse.pyc214890644editdlrm
unparse.pyo214890644editdlrm
Edit: /usr/lib64/python2.6/Demo/parser/source.py (741B)
"""Exmaple file to be parsed for the parsermodule example. The classes and functions in this module exist only to exhibit the ability of the handling information extraction from nested definitions using parse trees. They shouldn't interest you otherwise! """ class Simple: "This class does very little." def method(self): "This method does almost nothing." return 1 class Nested: "This is a nested class." def nested_method(self): "Method of Nested class." def nested_function(): "Function in method of Nested class." pass return nested_function def function(): "This function lives at the module level." return 0