summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt B. Kaiser <kbk@shore.net>2002-09-23 04:10:37 +0000
committerKurt B. Kaiser <kbk@shore.net>2002-09-23 04:10:37 +0000
commitf1b2cb8020ba66e99110d2c8753162ef4d1c1a7d (patch)
tree918dc16ebb1401405c0e79e0597492e25cfd7b57
parent9ff0bf73c03772d4cb8a5f0d4c2669abb9023fe6 (diff)
downloadcpython-f1b2cb8020ba66e99110d2c8753162ef4d1c1a7d.tar.gz
Fix bug I created during merge from Python-idle.
Also, decided IDENTCHARS is better as global, after all.
-rw-r--r--Lib/idlelib/PyShell.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py
index 29ebd929a8..3a819a8317 100644
--- a/Lib/idlelib/PyShell.py
+++ b/Lib/idlelib/PyShell.py
@@ -28,6 +28,8 @@ import idlever
import rpc
import RemoteDebugger
+IDENTCHARS = string.ascii_letters + string.digits + "_"
+
# XX hardwire this for now, remove later KBK 09Jun02
use_subprocess = 1 # Set to 1 to spawn subprocess for command execution
@@ -313,8 +315,6 @@ class ModifiedInterpreter(InteractiveInterpreter):
linecache.cache[filename] = len(source)+1, 0, lines, filename
return filename
- IDENTCHARS = string.ascii_letters + string.digits + "_"
-
def showsyntaxerror(self, filename=None):
"""Extend base class method: Add Colorizing