Guido van Rossum
|
b940e113bf
|
SF patch 1631942 by Collin Winter:
(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
|
2007-01-10 16:19:56 +00:00 |
Neal Norwitz
|
286d74764e
|
SF Bug #1348477, regextest can't be pydoc'ed. Will backport.
|
2005-11-09 07:07:58 +00:00 |
Andrew M. Kuchling
|
9b12d9d0d2
|
Modernize the code a bit:
use re module
make chomp() use rstrip()
|
2003-04-24 17:22:04 +00:00 |
Andrew M. Kuchling
|
b7878d09e5
|
Modernize the code a bit:
use re module
use .split() string method
Doesn't use 'for line in sys.stdin'; that ends up changing its interactive
behaviour.
|
2003-04-24 17:17:56 +00:00 |
Andrew M. Kuchling
|
946c53ed7f
|
Run these demo scripts through reindent.py to give them 4-space indents. I've verified that their output is unchanged.
|
2003-04-24 17:13:18 +00:00 |
Guido van Rossum
|
f06ee5fa07
|
/usr/local/bin/python -> /usr/bin/env python
|
1996-11-27 19:52:01 +00:00 |
Guido van Rossum
|
21bc15b73d
|
commit -- why not...
|
1995-04-10 11:40:26 +00:00 |