summaryrefslogtreecommitdiff
path: root/Demo/comparisons
Commit message (Collapse)AuthorAgeFilesLines
* Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about ↵Collin Winter2007-07-173-13/+13
| | | | lingering print statements.
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-102-3/+3
| | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block
* SF Bug #1348477, regextest can't be pydoc'ed. Will backport.Neal Norwitz2005-11-091-1/+2
|
* Modernize the code a bit:Andrew M. Kuchling2003-04-241-9/+5
| | | | | use re module make chomp() use rstrip()
* Modernize the code a bit:Andrew M. Kuchling2003-04-241-5/+6
| | | | | | | | use re module use .split() string method Doesn't use 'for line in sys.stdin'; that ends up changing its interactive behaviour.
* Run these demo scripts through reindent.py to give them 4-space indents. ↵Andrew M. Kuchling2003-04-243-95/+95
| | | | I've verified that their output is unchanged.
* /usr/local/bin/python -> /usr/bin/env pythonGuido van Rossum1996-11-273-3/+3
|
* commit -- why not...Guido van Rossum1995-04-105-0/+238