~ubuntu-branches/ubuntu/natty/python3.2/natty-updates

« back to all changes in this revision

Viewing changes to Demo/parser/README

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-01-16 18:09:56 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20110116180956-yf91p6ode1z6lsi1
Tags: 3.2~rc1-0ubuntu1
Python 3.2 release candidate 1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
These files are from the large example of using the `parser' module.  Refer
2
 
to the Python Library Reference for more information.
3
 
 
4
 
It also contains examples for the AST parser.
5
 
 
6
 
Files:
7
 
------
8
 
 
9
 
        FILES        -- list of files associated with the parser module.
10
 
 
11
 
        README       -- this file.
12
 
 
13
 
        example.py   -- module that uses the `parser' module to extract
14
 
                        information from the parse tree of Python source
15
 
                        code.
16
 
 
17
 
        docstring.py -- sample source file containing only a module docstring.
18
 
 
19
 
        simple.py    -- sample source containing a "short form" definition.
20
 
 
21
 
        source.py    -- sample source code used to demonstrate ability to
22
 
                        handle nested constructs easily using the functions
23
 
                        and classes in example.py.
24
 
 
25
 
        test_parser.py  program to put the parser module through its paces.
26
 
 
27
 
        unparse.py      AST (2.5) based example to recreate source code
28
 
                        from an AST. This is incomplete; contributions
29
 
                        are welcome.
30
 
 
31
 
Enjoy!