diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2002-09-23 04:10:37 +0000 |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2002-09-23 04:10:37 +0000 |
commit | b97641994617115321719d4ecf797a461e2d5cf2 (patch) | |
tree | 4e3c49568ae5c3b7d322a7d33a9a731f5df740f9 /Lib/idlelib/PyShell.py | |
parent | e49dd4c64bd711b4287dbf292d9d2bb34cdf280f (diff) | |
download | cpython-git-b97641994617115321719d4ecf797a461e2d5cf2.tar.gz |
Fix bug I created during merge from Python-idle.
Also, decided IDENTCHARS is better as global, after all.
Diffstat (limited to 'Lib/idlelib/PyShell.py')
-rw-r--r-- | Lib/idlelib/PyShell.py | 4 |
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 |