summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2002-09-18 03:30:12 (GMT)
committerKurt B. Kaiser <kbk@shore.net>2002-09-18 03:30:12 (GMT)
commit5fab9c67eba274effd05c8b518d0eaad7a98103d (patch)
tree2d2e4013de2ed0a357723d859fa8c1375a796c66 /Lib/idlelib
parent2a5e350265ccc3c8ffe2f3cc66854f4a341da432 (diff)
downloadcpython-5fab9c67eba274effd05c8b518d0eaad7a98103d.zip
cpython-5fab9c67eba274effd05c8b518d0eaad7a98103d.tar.gz
cpython-5fab9c67eba274effd05c8b518d0eaad7a98103d.tar.bz2
Merge Py Idle changes:
Rev 1.4 fdrake Use string.ascii_letters instead of string.letters (SF bug #226706) Rev 1.5 doerwalter (string methods)
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/UndoDelegator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/UndoDelegator.py b/Lib/idlelib/UndoDelegator.py
index ec7af81..54b0851 100644
--- a/Lib/idlelib/UndoDelegator.py
+++ b/Lib/idlelib/UndoDelegator.py
@@ -251,7 +251,7 @@ class InsertCommand(Command):
self.chars = self.chars + cmd.chars
return 1
- alphanumeric = string.letters + string.digits + "_"
+ alphanumeric = string.ascii_letters + string.digits + "_"
def classify(self, c):
if c in self.alphanumeric:
@@ -311,7 +311,7 @@ class CommandSequence(Command):
strs = []
for cmd in self.cmds:
strs.append(" " + `cmd`)
- return s + "(\n" + string.join(strs, ",\n") + "\n)"
+ return s + "(\n" + ",\n".join(strs) + "\n)"
def __len__(self):
return len(self.cmds)