source:
trunk/essentials/dev-lang/python/Demo/parser/source.py@
3226
| Last change on this file since 3226 was 3225, checked in by , 19 years ago | |
|---|---|
| File size: 741 bytes | |
| Line | |
|---|---|
| 1 | """Exmaple file to be parsed for the parsermodule example. |
| 2 | |
| 3 | The classes and functions in this module exist only to exhibit the ability |
| 4 | of the handling information extraction from nested definitions using parse |
| 5 | trees. They shouldn't interest you otherwise! |
| 6 | """ |
| 7 | |
| 8 | class Simple: |
| 9 | "This class does very little." |
| 10 | |
| 11 | def method(self): |
| 12 | "This method does almost nothing." |
