mirror of https://github.com/python/cpython
Fix bug I created during merge from Python-idle.
Also, decided IDENTCHARS is better as global, after all.
This commit is contained in:
parent
e49dd4c64b
commit
b976419946
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue