0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 08:20:55 +01:00
Commit Graph

13 Commits

Author SHA1 Message Date
Collin Winter
6afaeb757a Convert print statements to function calls in Tools/. 2007-08-03 17:06:41 +00:00
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
Andrew M. Kuchling
e236b38731 [Patch #1005491 ] use __name__ == '__main__' in scripts 2004-08-09 17:27:55 +00:00
Walter Dörwald
70a6b49821 Replace backticks with repr() or "%r"
From SF patch #852334.
2004-02-12 17:35:32 +00:00
Andrew M. Kuchling
ac6df95d07 Fix use of 'file' as a variable name.
(I've tested the fixes, but please proofread anyway.)
2003-05-13 18:14:25 +00:00
Walter Dörwald
aaab30e00c Apply diff2.txt from SF patch http://www.python.org/sf/572113
(with one small bugfix in bgen/bgen/scantools.py)

This replaces string module functions with string methods
for the stuff in the Tools directory. Several uses of
string.letters etc. are still remaining.
2002-09-11 20:36:02 +00:00
Tim Peters
70c4378dbc Whitespace normalization. 2001-01-17 08:48:39 +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
41ffccbba7 *** empty log message *** 1993-04-01 20:50:35 +00:00
Guido van Rossum
9a6757dade posix -> os 1992-03-30 11:15:26 +00:00
Guido van Rossum
bdfcfccbe5 New == syntax 1992-01-01 19:35:13 +00:00
Guido van Rossum
bcf5012887 Add options -amc; do lstat if possible; columnize properly. 1991-07-01 18:20:35 +00:00
Guido van Rossum
ec758ead39 Initial revision 1991-06-04 20:36:54 +00:00