Neal Norwitz
9d72bb452b
Remove functions in string module that are also string methods. Also remove:
...
* all calls to functions in the string module (except maketrans)
* everything from stropmodule except for maketrans() which is still used
2007-04-17 08:48:32 +00:00
Guido van Rossum
be19ed77dd
Fix most trivially-findable print statements.
...
There's one major and one minor category still unfixed:
doctests are the major category (and I hope to be able to augment the
refactoring tool to refactor bona fide doctests soon);
other code generating print statements in strings is the minor category.
(Oh, and I don't know if the compiler package works.)
2007-02-09 05:37:30 +00:00
Tim Peters
182b5aca27
Whitespace normalization, via reindent.py.
2004-07-18 06:16:08 +00:00
Walter Dörwald
70a6b49821
Replace backticks with repr() or "%r"
...
From SF patch #852334 .
2004-02-12 17:35:32 +00:00
Eric S. Raymond
b3acd3e4d3
String method conversion.
2001-02-09 12:20:51 +00:00
Fred Drake
132dce2246
Update the code to better reflect recommended style:
...
Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
2000-12-12 23:11:42 +00:00
Thomas Wouters
c533e4a012
Bugfix by Rob W. W. Hooft, from his spelling fixes patch. This one is a
...
genuine bug, so I checked it in separately.
2000-07-16 11:57:20 +00:00
Guido van Rossum
9694fcab53
Convert all remaining *simple* cases of regex usage to re usage.
1997-10-22 21:00:49 +00:00
Guido van Rossum
1ce7c6fde8
Irix 6 specific files -- thanks Sjoerd!
1997-01-15 19:19:19 +00:00