mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
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.
This commit is contained in:
parent
6a0477b099
commit
aaab30e00c
70 changed files with 271 additions and 346 deletions
|
@ -7,13 +7,13 @@
|
|||
import sys
|
||||
if sys.path[0] in (".", ""): del sys.path[0]
|
||||
|
||||
import sys, os, string
|
||||
import sys, os
|
||||
from stat import *
|
||||
|
||||
def msg(str):
|
||||
sys.stderr.write(str + '\n')
|
||||
|
||||
pathlist = string.splitfields(os.environ['PATH'], ':')
|
||||
pathlist = os.environ['PATH'].split(':')
|
||||
|
||||
sts = 0
|
||||
longlist = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue