/usr/lib64/python2.7/Demo/parser
NameSizeModeActions
docstring.py270644editdlrm
docstring.pyc1750644editdlrm
docstring.pyo1750644editdlrm
example.py57220644editdlrm
example.pyc72040644editdlrm
example.pyo72040644editdlrm
FILES910644editdlrm
README10300644editdlrm
simple.py290644editdlrm
simple.pyc2790644editdlrm
simple.pyo2790644editdlrm
source.py7410644editdlrm
source.pyc15840644editdlrm
source.pyo15840644editdlrm
test_parser.py11850755editdlrm
test_parser.pyc14430644editdlrm
test_parser.pyo14430644editdlrm
test_unparse.py55690644editdlrm
test_unparse.pyc86540644editdlrm
test_unparse.pyo86540644editdlrm
unparse.py172580644editdlrm
unparse.pyc240050644editdlrm
unparse.pyo239180644editdlrm
Edit: /usr/lib64/python2.7/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