+++ /dev/null
-"""Exmaple file to be parsed for the parsermodule example.\r
-\r
-The classes and functions in this module exist only to exhibit the ability\r
-of the handling information extraction from nested definitions using parse\r
-trees. They shouldn't interest you otherwise!\r
-"""\r
-\r
-class Simple:\r
- "This class does very little."\r
-\r
- def method(self):\r
- "This method does almost nothing."\r
- return 1\r
-\r
- class Nested:\r
- "This is a nested class."\r
-\r
- def nested_method(self):\r
- "Method of Nested class."\r
- def nested_function():\r
- "Function in method of Nested class."\r
- pass\r
- return nested_function\r
-\r
-def function():\r
- "This function lives at the module level."\r
- return 0\r