Staging
v0.5.1
https://github.com/python/cpython
Revision c9081b390d1192968edab7ecc39663834cef44d8 authored by Mark Dickinson on 23 February 2010, 13:16:55 UTC, committed by Mark Dickinson on 23 February 2010, 13:16:55 UTC
........
  r78372 | mark.dickinson | 2010-02-23 12:53:52 +0000 (Tue, 23 Feb 2010) | 1 line

  Make global variable overflowok into a keyword argument;  this fixes a failure when running ./python -m test.regrtest -R 3:2: test_format
........
  r78373 | mark.dickinson | 2010-02-23 13:06:50 +0000 (Tue, 23 Feb 2010) | 1 line

  Fix spacing nit.  Thanks Eric Smith for the public humiliation.
........
1 parent 365bc6c
Raw File
Tip revision: c9081b390d1192968edab7ecc39663834cef44d8 authored by Mark Dickinson on 23 February 2010, 13:16:55 UTC
Blocked revisions 78372-78373 via svnmerge
Tip revision: c9081b3
README
These files are from the large example of using the `parser' module.  Refer
to the Python Library Reference for more information.

It also contains examples for the AST parser.

Files:
------

	FILES	     -- list of files associated with the parser module.

	README	     -- this file.

	example.py   --	module that uses the `parser' module to extract
			information from the parse tree of Python source
			code.

	docstring.py -- sample source file containing only a module docstring.

	simple.py    -- sample source containing a "short form" definition.

	source.py    --	sample source code used to demonstrate ability to
			handle nested constructs easily using the functions
			and classes in example.py.

	test_parser.py  program to put the parser module through its paces.

	unparse.py	AST (2.5) based example to recreate source code
			from an AST. This is incomplete; contributions
			are welcome.

Enjoy!
back to top