##// END OF EJS Templates
Remove string module use from external modules.
Thomas Kluyver -
Show More
@@ -75,7 +75,6 b' each time the instance is evaluated with str(instance). For example:'
75 75 __author__ = 'Ka-Ping Yee <ping@lfw.org>'
76 76 __license__ = 'MIT'
77 77
78 import string
79 78 import sys
80 79 from tokenize import tokenprog
81 80
@@ -66,7 +66,6 b' $Id: pexpect.py 507 2007-12-27 02:40:52Z noah $'
66 66 try:
67 67 import os, sys, time
68 68 import select
69 import string
70 69 import re
71 70 import struct
72 71 import resource
@@ -1778,8 +1777,7 b' def which (filename):'
1778 1777
1779 1778 # Oddly enough this was the one line that made Pexpect
1780 1779 # incompatible with Python 1.5.2.
1781 #pathlist = p.split (os.pathsep)
1782 pathlist = string.split (p, os.pathsep)
1780 pathlist = p.split(os.pathsep)
1783 1781
1784 1782 for path in pathlist:
1785 1783 f = os.path.join(path, filename)
General Comments 0
You need to be logged in to leave comments. Login now